home *** CD-ROM | disk | FTP | other *** search
- Essential Unix Commands
-
- Command What It Does Example DOS Command
- --------------------------------------------------------------------
- ls Lists files ls * dir
- cp Copy files cp file1 file2 copy
- mv Renames or mv file1 file2 rename
- moves files mv file1 /News moves
- rm Deletes files rm file1 erase or del
- cat Display files cat file1 type
- |more Paging filter cat file1 |more | more
- cd change directory cd News cd
- man Displays manual man ls help
- sz Download Zmodem sz file1
- rz Upload Zmodem rz file1
- kermit Down/Upload via kermit
- kermit
- --------------------------------------------------------------------
-
- Wildcards
- ---------
- The wildcards ? and * can be used after Unix commands for listing,
- copying and deleting files. Use the * wildcard with great caution.
-
- Switches
- --------
- Most Unix commands allow switches to be entered after the command
- to affect the performance of the command. Switches should appear
- immediately after the command, preceded by a dash (-), but before
- the name of the file(s) affected by the command. For example, to
- list files in the long format enter the command: ls -l *. The -l
- part of this command is the switch. If you want to use multiple
- switches, you only need one dash. For example, ls -alc *.
-
- Down/Uplaoding Files
- --------------------
- If your communications program supports Zmodem file transfer use
- the Unix commands sz and rz to down/upload files. The -b switch
- should be used for binary files and the -a switch for text files.
- You may have to use kermit, in which case, start the Unix kermit
- program, set the file type ("set file type binarly," or set file
- type ascii"), and then issued the kermit command send or receive
- [filename]. After issuing the file down or upload command from
- Unix, issue the command that sends, receives files from your
- local communications program. Be sure the file type (binary or
- text) and file transfer protocols (Zmodem or kermit) in your
- communications program match those set on your Unix host computer.
-
- Unix References
- ---------------
- Sobell, Mark. A Practical Guide to the Unix System
- Hahn, Harley. A Student's Guide to Unix
-
-