Table of Contents |
The following table lists MS-DOS and UNIX commands that perform similar functions. It is advisable to look up the module for each of the UNIX commands listed to gain a complete understanding of the command.
|
||
MS_DOS Command | UNIX Command | Description |
---|---|---|
|
||
CHDIR (CD) | cd | Change directory |
CLS | tput clear, clear | Clear terminal screen |
COMMAND | sh, ksh, csh | Command interpretors (user shells) |
COMP | diff, cmp, comm | Compare files |
COPY | cp, cpio, tar, dd | Copy a file or group of files |
cat | Concatenate files | |
DATE | date | Display and change system date. Only super-user can change the date on UNIX. |
DIR | ls | List directory contents |
EDLIN | ed, ex | Line editor |
ERASE, DEL | rm | Remove/delete files |
FIND | grep, egrep, fgrep, nawk, sed | Search for text in files |
MKDIR (MD) | mkdir | Make a directory |
MORE | pg | Display files one screen at a time |
lp | Print files in background(spooling) | |
RENAME | mv | Move/rename files |
RMDIR (RD) | rmdir | Remove a directory |
SET | set | Set value of shell variable |
SORT | sort | Sort contents of files |
TIME | date | Display and change system time |
TYPE | cat, tail, head, nawk, sed | Display contents of a file |
|
Table of Contents |