home *** CD-ROM | disk | FTP | other *** search
/ The Best Internet Programs / BESTINTERNET.bin / internet / lrn_inet / li_unix.prn < prev    next >
Encoding:
Text File  |  1994-09-10  |  2.9 KB  |  55 lines

  1.                              Essential Unix Commands
  2.  
  3.           Command       What It Does       Example             DOS Command
  4.           --------------------------------------------------------------------
  5.             ls          Lists files        ls *                   dir
  6.             cp          Copy files         cp file1 file2         copy
  7.             mv          Renames or         mv file1 file2         rename
  8.                         moves files        mv file1 /News         moves
  9.             rm          Deletes files      rm file1               erase or del
  10.             cat         Display files      cat file1              type
  11.             |more       Paging filter      cat file1 |more        | more
  12.             cd          change directory   cd News                cd
  13.             man         Displays manual    man ls                 help
  14.             sz          Download Zmodem    sz file1
  15.             rz          Upload Zmodem      rz file1
  16.             kermit      Down/Upload via    kermit
  17.                         kermit
  18.           --------------------------------------------------------------------
  19.  
  20.           Wildcards
  21.           ---------
  22.           The wildcards ? and * can be used after Unix commands for listing,
  23.           copying and deleting files.  Use the * wildcard with great caution.
  24.  
  25.           Switches
  26.           --------
  27.           Most Unix commands allow switches to be entered after the command
  28.           to affect the performance of the command.  Switches should appear
  29.           immediately after the command, preceded by a dash (-), but before
  30.           the name of the file(s) affected by the command.  For example, to
  31.           list files in the long format enter the command: ls -l *.  The -l
  32.           part of this command is the switch.  If you want to use multiple
  33.           switches, you only need one dash.  For example, ls -alc *.
  34.  
  35.           Down/Uplaoding Files
  36.           --------------------
  37.           If your communications program supports Zmodem file transfer use
  38.           the Unix commands sz and rz to down/upload files.  The -b switch
  39.           should be used for binary files and the -a switch for text files.
  40.           You may have to use kermit, in which case, start the Unix kermit
  41.           program, set the file type ("set file type binarly," or set file
  42.           type ascii"), and then issued the kermit command send or receive
  43.           [filename].  After issuing the file down or upload command from
  44.           Unix, issue the command that sends, receives files from your
  45.           local communications program.  Be sure the file type (binary or
  46.           text) and file transfer protocols (Zmodem or kermit) in your
  47.           communications program match those set on your Unix host computer.
  48.  
  49.           Unix References
  50.           ---------------
  51.           Sobell, Mark.  A Practical Guide to the Unix System
  52.           Hahn, Harley.  A Student's Guide to Unix
  53.  
  54.  
  55.