-->
Previous Table of Contents Next


Chapter 3
Linux/DOS Cross Reference

There are more similarities between DOS and Linux than you might expect—both DOS and Linux have their roots in UNIX, and for the most part, commands and filesystems behave the same way in all three operating systems. If your background is in DOS, you certainly can make the leap to Linux. This chapter lists some popular DOS commands and their Linux counterparts.

DOS Command Linux command
APPEND None
ASSIGN None
ATTRIB chmod
BACKUP cpio, tar
BREAK None
CALL exec
CD cd
CHCP None
CHDIR cd
CHKDSK e2fsck
CHOICE None
CLS clear, reset
COMMAND bash, csh, sh
COMP cmp, diff, diff3, sdiff
COPY cp, cat
CTTY stty
DATE date
DBLSPACE None
DEFRAG None
DEL rm
DELTREE rmdir
DIR dir, ls
DISKCOMP None
DISKCOPY None
DOSKEY history (Korn and bash shells)
DOSSHELL None
ECHO echo
EDIT vi
EXIT None
EXPAND gunzip, uncompress, unpack
FASTHELP apropos, man, xman, whatis
FASTOPEN None
FC cmp, diff, diff3, sdiff
FDISK fdisk
FIND find
FOR for (shell command)
FORMAT None
GOTO goto (C shell)
GRAFTABL None
GRAPHICS None
HELP apropos, man, whatis
IF if (shell command)
INTERLNK None
INTERSVR None
JOIN None
LABEL None
LOADFIX None
LOADHIGH None (thankfully)
MEM free
MIRROR None
MKDIR mkdir
MODE stty, tty
MORE less, more, xmore
MOVE mv
MSAV None
MSBACKUP cpio, tar
MSD None
NLSFUNC None
PATH env
PAUSE sleep
POWER None
PRINT lpr
PROMPT PS1
RECOVER None
REM #
RENAME cat
REPLACE None
RESTORE cpio, tar
RMDIR rmdir
SET env
SETVER None
SHARE None
SHIFT None
SMARTDRV None
SORT sort
SUBST None
SYS None
TIME date
TREE None
TYPE cat, less, more
UNDELETE None
UNFORMAT None
VER uname
VERIFY None
VOL None
VSAFE None
XCOPY cp
XTREE mkdir


Previous Table of Contents Next