| Linux |
DOS |
Function |
| ls |
dir |
Displays the contents of a directory |
| cd |
cd |
Moves from one directory to another |
| mkdir |
md |
Creates a new subdirectory |
| rmdir |
rd |
Deletes an existing directory |
| cat |
type |
Displays the contents of a file |
| cp |
copy |
Copies a file (or a group of files) |
| mv |
ren |
Renames a file |
| rm |
del |
Deletes a file (or group of files) |
| ln |
-- |
Forms a symbolic link to a file |
| chmod |
-- |
Sets file permissions |
| find |
-- |
Lists file names that meet criteria |
| grep |
find |
Displays lines in a file that meet criteria |
| vi, joe, pico |
edit |
Creates and edits text |
| cpio |
xcopy |
Backs up and recovers files |