| DOS | to... | UNIX | notes |
| attrib | change file attributes | chmod | |
| cd chdir | change directories | cd | |
| chkdsk | display free disk space | df | |
| cls | clear screen | clear | |
| comp | compare files | diff | |
| copy | copy files |
cp copy tar | cp to copy files, copy to copy directories, and tar to copy files or directories onto floppy disks or tapes. |
| date | display system date and time | date cal | date displays the date and time, cal displays the date, time, and a 3 month calendar. |
| del | delete files | rm | Use caution with rm and wildcards, rm * removes all (no undelete option)! |
| deltree | delete directory and files | rm -r | Recursively removes the specified directory and its files and subdirectories and files. (no undelete option) |
| dir | list contents of a directory | ls | There are several options to ls including ls -l to see long lists, ls -c to see a list in columns, and ls -f to see a list indicating file types. |
| diskcomp | make a track-by-track comparison of two floppy disks | diskcmp | |
| diskcopy | copy a source disk to a target disk | diskcp | |
| edit | to edit text files | vi | vi is a full-screen text editor with powerful search and replace functions. |
| edlin | line editor | ed ex | ed and ex are predecessors of vi. |
| fc | compare two files | cmp diff diff3 | cmp to compare binary files, diff compares two text files, and diff3 compares three text files. |
| find | find text within a file | grep | The UNIX find command finds files on the system, and grep (global regular expression parser) finds text within a file. |
| format | format a disk | format | The UNIX format command formats a disk for use on the UNIX file system. See /etc/default/format for the default drive to format. |
| help | get help | man apropos | |
| md | make a directory | mkdir | |
| more | display output one screen at a time | more | |
| move | move a file | mv | |
| print files in the background | lp lpq | Use lp filename & to print in the background. You can run any UNIX system command in the background by adding the & (ampersand) to the end of the command line. Use lpq to display print queue. | |
| ren | rename a file | mv | |
| rd | remove an empty directory | rmdir | Use rm -r to remove a directory that is not empty. |
| sort | sort data | sort | |
| type | display a text file | cat more | |
| xcopy | copy directories | copy tar | Use tar if you want to copy directories to disk or tape. |
Please e-mail me your
comments / suggestions!
![]()
About Me | Cisco Systems | DOS to UNIX | EIA/TIA 568 Standard | Hardware Resources | IEEE 802.3 Standard | Index Page | Linux | Novell | OSI Model | Services | Software Resourses | UNIX | vi Editor Commands | Windows NT/2000/XP
Copyright © Victor Yager. All rights reserved.