DOS / unix QUICK REFERENCE Note: Read Applicable Manual for usage and arguments! Most unix commands are Bourne shell, some are C_Shell. DOS COMMAND Description unix command ARC/ZIP Compress / uncompress files compress uncompress pack unpack ATTRIB Change file attributes chmod BACKUP Make backup copies of files tar cpio BATCH FILE Executable text file shell script CALL Execute a batch file. sh filespec . filespec filespec CHDIR/CD Change current directory cd chdir pwd CHKDSK Evaluate and display disk status df fsck CLS Clear the screen terminal dependent or shell script to echo multiple LF's COMMAND Load a new command processor sh csh ksh COMP Compare two or more files cmp comm diff diff3 COPY Copy a file or a device cp DATE Display and change system date date DEL Erase a file rm DIR Display directory entries ls ECHO Display .BAT command lines or messages echo EDLIN Edit a file ed vi ERASE Delete a file rm EXIST Check for presence of a file test EXIT Exit from a secondary command processor exit logout ^d FIND Search files for characters strings grep fgrep egrep FOR Repeat DOS command for foreach FORMAT Initialize a disk mkfs GOTO Transfer control of .BAT file to label case switch IF Check for specified condition if MKDIR/MD Make a new directory mkdir MORE Display file by screenfull pg more PAUSE Prompt for keyboard input read PATH Set search path PATH path PRINT Start background print spooling print PROMPT Set the system prompt PS1 PS2 prompt REM Non-operational statement (REMark) # RENAME Change file names mv mvdir ln RESTORE Restore files from backup disk tar cpio RMDIR/RD Delete a directory rmdir SET Create or change environment variable set env setenv SHIFT Extend parameter numbering shift SORT Sort text file sort TIME Display and change system time date TREE Display directory structure ls TYPE Display contents of a file cat XCOPY Copy disk files cp tar cpio ***************************************************************** unix unique COMMAND SUMMARY find Locate files on filesystem alias C_Shell - create alias () B_Shell - define function od Display file contents ASCII, Hex, Octal tr Translation filter ***************************************************************** Jo French 74730,175