Explore BrainMass

Explore BrainMass

    Using Unix alias to emulate DoS commands

    Not what you're looking for? Search our solutions OR ask your own Custom question.

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    Assume you are an experienced DOS programmer and you want to write UNIX shell scripts using DOS commands. Use the alias command so you can type the follow DOS commands and perform UNIX functions:

    a. Clear screen (cls)
    b. Directory (dir)
    c. print out the contents of a file (type)
    d. Make a directory (md)
    e. Change directory (cd)
    f. Delete a file (del)
    g. Copy a file (copy)

    © BrainMass Inc. brainmass.com March 4, 2021, 6:40 pm ad1c9bdddf
    https://brainmass.com/computer-science/files/using-unix-alias-emulate-dos-commands-56292

    Solution Preview

    # Lines beginning with # are comments. They are ignored by the interpreter
    # You can type the following in your .bashrc (note the . in front) then re-login
    # to start using these DOS commands as aliases in your Unix ...

    Solution Summary

    The expert learns how to use alias to use different names for your favorite Unix commands.

    $2.49

    ADVERTISEMENT