home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / news / newusers / question / 5658 < prev    next >
Encoding:
Text File  |  1992-12-31  |  1.8 KB  |  66 lines

  1. Newsgroups: news.newusers.questions
  2. Path: sparky!uunet!think.com!yale.edu!jvnc.net!nisc.jvnc.net!knopf
  3. From: knopf@nisc.jvnc.net (Greg Knopf)
  4. Subject: Re: ftp commands
  5. Message-ID: <1992Dec31.172903.4214@tigger.jvnc.net>
  6. Sender: news@tigger.jvnc.net (Zee News Genie)
  7. Nntp-Posting-Host: nisc.jvnc.net
  8. Organization: Global Enterprise Systems, Inc.
  9. References:  <1992Dec31.060322.15902@tfs.com>
  10. Date: Thu, 31 Dec 1992 17:29:03 GMT
  11. Lines: 53
  12.  
  13. In article <1992Dec31.060322.15902@tfs.com>, rsw@tfs.com (Rob White) writes:
  14. |> I use a unix machine to ftp to various sites.  
  15. |>   As examples: I do not know how to read a file that is at another 
  16. |> site other than to transfer the file to my own site, exit ftp, 
  17. |> and then read the file. Kind of awkward.
  18.  
  19. On a unix machine:
  20.  
  21.     ftp> get README.TXT /dev/tty
  22.  
  23. Will get the file and write it directly to your terminal.  If
  24. the file is longer than one screenful and you do not have a
  25. windowing system with a scrollbar, use:
  26.  
  27.     ftp> get README.TXT "|more"
  28.  
  29. |> Also, I do not know how to change my home directory or check
  30. |> my own computer directories when I am linked to another site.
  31.  
  32.  
  33. List files in home machine's current working directory:
  34.  
  35.     ftp> !ls
  36.  
  37. Change directories on local machine:
  38.  
  39.     ftp> lcd /new/directory
  40.  
  41.  
  42.  
  43. Also, you can "suspend" an ftp session by entering the unix ^Z (ctrl-Z):
  44.  
  45.     ftp> ^Z
  46.     Suspended
  47.     (wd now: ~/temp)
  48.     r2d2-tcsh> cat README 
  49.  
  50.     Not worth keeping.
  51.  
  52.     r2d2-tcsh> rm README 
  53.     r2d2-tcsh> fg
  54.     ftp ftp.jvnc.net (wd: ~)
  55.  
  56.     ftp> 
  57.  
  58. Hope this helps,
  59.  
  60. - Greg
  61. ********************************************************************
  62. *  Greg Knopf (GTK3)    JvNCnet Network Operations  (609)258-1544  *
  63. *  knopf@jvnc.net    B6 von Neumann Hall        (609)258-2400  *
  64. *  noc@jvnc.net        Princeton, NJ  08540                       *
  65. ********************************************************************
  66.