Purchase Solution

Using Unix alias to emulate DoS commands

Not what you're looking for?

Ask Custom Question

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)

Purchase this Solution

Solution Summary

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

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 ...

Purchase this Solution


Free BrainMass Quizzes
Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

C# variables and classes

This quiz contains questions about C# classes and variables.