|
|
[Print-friendly version]
| Command |
DOS |
UNIX |
| display the contents of a directory |
dir |
ls (or ls -l) |
| display the contents of a file |
type filename | more |
more filename |
| copy a file |
copy |
cp |
| move a file |
move |
mv |
| rename a file |
rename |
mv |
| delete a file |
del |
rm |
| delete a directory |
rmdir |
rm -r |
| create a directory |
mkdir |
mkdir |
| change directory |
cd |
cd |
| get help |
help command |
man command |
| print a file |
print |
lpr -Pprinter_name filename |
| show the date and time |
date & time |
date |
|