home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.next.misc
- Path: sparky!uunet!destroyer!gatech!cc.gatech.edu!news.cc.gatech.edu!burns
- From: burns@cc.gatech.edu (James E. Burns)
- Subject: Re: su File Viewer
- In-Reply-To: sherwood@space.ualberta.ca's message of Wed, 18 Nov 1992 17:43:17 GMT
- Message-ID: <BURNS.92Nov19132017@bobcat.cc.gatech.edu>
- Sender: news@cc.gatech.edu
- Organization: College of Computing, Georgia Tech
- Distribution: usa
- Date: Thu, 19 Nov 1992 18:20:17 GMT
- Lines: 23
-
- It's a good idea to know what will happen BEFORE you unpack an unknown
- archive. I use the following little aliases to inspect things before
- I "untar":
-
- # Show the contents of a *.tar file
- alias showtar 'tar vtf \!:1'
- # Show the contents of a *.tar.Z file
- alias showZ 'zcat \!:1 | tar vtf -'
-
- To actually unpack:
-
- # Unpack a *.tar file:
- alias untar 'tar xvf \!:1'
- # Unpack a *.tar.Z file:
- alias untarZ 'zcat \!:1 | tar xvf -'
-
-
- jim burns
- --
- James E. Burns Associate Professor (404) 894-3816 Fax: (404) 853-9378
- College of Computing, Georgia Tech, Atlanta GA 30332-0280
- Internet : burns@CC.GaTech.edu
- uucp: ...!{akgua,allegra,hplabs,ihnp4,linus,seismo,ulysses}!gatech!cc!burns
-