Compairing DOS commands to UNIX commands
There are a few command line questions that are asked VERY often. These
questions, with answers that should be typed at your shell prompt are
printed below:
|
DOS | UNIX |
|
command / cmd | csh / sh |
|
dir | ls |
|
cls | clear |
|
del | rm |
|
copy | cp |
|
rename | mv |
|
move | mv |
|
type | cat |
|
cd | cd |
|
more < file | more file |
|
md | mkdir |
|
rd | rmdir |
|
win | startx |
(Note: Unlike DOS, commands and their arguments MUST be separated by a
space. For example, "cd/" doesn't work, but "cd /" does.)
Back to the homepage