home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / next / misc / 22136 < prev    next >
Encoding:
Text File  |  1992-11-19  |  1.1 KB  |  36 lines

  1. Newsgroups: comp.sys.next.misc
  2. Path: sparky!uunet!destroyer!gatech!cc.gatech.edu!news.cc.gatech.edu!burns
  3. From: burns@cc.gatech.edu (James E. Burns)
  4. Subject: Re: su File Viewer
  5. In-Reply-To: sherwood@space.ualberta.ca's message of Wed, 18 Nov 1992 17:43:17 GMT
  6. Message-ID: <BURNS.92Nov19132017@bobcat.cc.gatech.edu>
  7. Sender: news@cc.gatech.edu
  8. Organization: College of Computing, Georgia Tech
  9. Distribution: usa
  10. Date: Thu, 19 Nov 1992 18:20:17 GMT
  11. Lines: 23
  12.  
  13. It's a good idea to know what will happen BEFORE you unpack an unknown
  14. archive.  I use the following little aliases to inspect things before
  15. I "untar":
  16.  
  17. # Show the contents of a *.tar file
  18. alias showtar    'tar vtf \!:1'
  19. # Show the contents of a *.tar.Z file
  20. alias showZ    'zcat \!:1 | tar vtf -'
  21.  
  22. To actually unpack:
  23.  
  24. # Unpack a *.tar file:
  25. alias untar    'tar xvf \!:1'
  26. # Unpack a *.tar.Z file:
  27. alias untarZ    'zcat \!:1 | tar xvf -'
  28.  
  29.  
  30. jim burns
  31. --
  32. James E. Burns    Associate Professor    (404) 894-3816  Fax: (404) 853-9378
  33. College of Computing, Georgia Tech, Atlanta GA 30332-0280
  34. Internet :  burns@CC.GaTech.edu  
  35. uucp:    ...!{akgua,allegra,hplabs,ihnp4,linus,seismo,ulysses}!gatech!cc!burns
  36.