LINUX ADMIN - JIBIN
Thursday, March 14, 2013
List the content of a tar file
if You need to list the contents of a tar or tar.gz file on screen before extracting the all files.
List the contents of a tar file
$ tar -tvf file.tar
List the contents of a tar.gz file
$ tar -ztvf file.tar.gz
List the contents of a tar.bz2 file
$ tar -jtvf file.tar.bz2
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment