DOS | Linux | Notes |
BACKUP | tar -Mcvf device dir/ |
completely different DOS: create a compressed "backup". For inverse function rf. to RESTORE |
CD dirname\ | cd dirname/ | change directory; almost the same syntax |
COPY file1 file2 | cp file1 file2 | copy source file to destination file |
DEL file | rm file | delete file; beware - no undelete |
DELTREE dirname | rm -R dirname/ | delete complete directory; DOS and Linux ditto |
DIR | ls | show the content of a directory; not exactly the same syntax |
EDIT file | vi file | open a file in the editor; I think you won't like vi |
emacs file | this is better | |
jstar file | feels like dos' edit | |
FORMAT | fdformat, | |
mount, umount | quite different syntax | |
HELP command | man command | same philosophy |
MD dirname | mkdir dirname/ | make a new directory; almost the same syntax |
MOVE file1 file2 | mv file1 file2 | ditto |
NUL | /dev/null | name of the recycle bin, ditto foir DOS and Linux |
PRINT file | lpr file | ditto |
PRN | /dev/lp0, /dev/lp1 | ditto |
RD dirname | rmdir dirname/ | remove directory; almost the same syntax |
REN file1 file2 | mv file1 file2 | DOS rename a file; move to another file name has in Linux the same effect as renaming it in DOS; not for multiple files |
RESTORE | tar -Mxpvf device | different syntax decompress the "backup" or tar file |
TYPE file | less file | Shows the content of a file. Much better |
WIN | startx | Starts the graphical user interface. The effect seems poles apart! |
Short description of commands are courtesy of Albrecht Grabner. Thanks!