Unix was developed as a command line interface and has a much richer vocabulary than DOS, which followed 12 years later. Unix text may or may not be case sensitive, whereas DOS/Windows is not case sensitive. Following is a brief comparison of common Unix/Linux commands and their DOS/Windows counterparts:
Unix/ DOS/
Command Linux Windows
List directory content ls dir
Copy a file cp copy
Delete a file rm del
Rename a file mv rename
Display contents cat type
Print a file lpr print
Check disk space df chkdsk
Change directory cd cd

No comments:
Post a Comment