Victor Yager Accountant & Information Technology Professional

DOS to UNIX

DOS to UNIX translation!

DOSto... UNIXnotes
attribchange file attributes chmod
cd
chdir
change directories cd
chkdskdisplay free disk spacedf
clsclear screen clear
compcompare files diff
copycopy files cp
copy
tar
cp to copy files, copy to copy directories, and tar to copy files or directories onto floppy disks or tapes.
datedisplay system date and timedate
cal
date displays the date and time, cal displays the date, time, and a 3 month calendar.
deldelete files rmUse caution with rm and wildcards, rm * removes all (no undelete option)!
deltreedelete directory and filesrm -rRecursively removes the specified directory and its files and subdirectories and files. (no undelete option)
dirlist contents of a directory lsThere 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.
diskcompmake a track-by-track comparison of two floppy disksdiskcmp
diskcopycopy a source disk to a target diskdiskcp
editto edit text files vivi is a full-screen text editor with powerful search and replace functions.
edlinline editor ed
ex
ed and ex are predecessors of vi.
fccompare two files cmp
diff
diff3
cmp to compare binary files, diff compares two text files, and diff3 compares three text files.
findfind text within a file grepThe UNIX find command finds files on the system, and grep (global regular expression parser) finds text within a file.
formatformat a disk formatThe UNIX format command formats a disk for use on the UNIX file system. See /etc/default/format for the default drive to format.
helpget help man
apropos
mdmake a directory mkdir
moredisplay output one screen at a timemore
movemove a file mv
printprint files in the backgroundlp
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.
renrename a file mv
rdremove an empty directory rmdirUse rm -r to remove a directory that is not empty.
sortsort data sort
typedisplay a text file cat
more
xcopycopy directories copy
tar
Use tar if you want to copy directories to disk or tape.

Please e-mail me your comments / suggestions!
Click here to e-mail Vic



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.