How to view .tar file in unix | Unix Linux Forums | UNIX for Advanced & Expert Users

  Go Back    


UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

How to view .tar file in unix

UNIX for Advanced & Expert Users


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 10-27-2008
sdosanjh sdosanjh is offline
Registered User
 
Join Date: Jul 2008
Last Activity: 24 September 2014, 9:19 AM EDT
Posts: 140
Thanks: 48
Thanked 1 Time in 1 Post
How to view .tar file in unix

Guys,
Could anyone let me know, how we can see the contents of .tar file without extracting it.

I know the extracting and combine options
Regards
Sponsored Links
    #2  
Old 10-27-2008
vino's Avatar
vino vino is offline Forum Advisor  
Supporter (in vino veritas)
 
Join Date: Feb 2005
Last Activity: 9 April 2013, 8:19 AM EDT
Location: Sydney, Down Under
Posts: 2,847
Thanks: 0
Thanked 12 Times in 12 Posts
Quote:
Originally Posted by sdosanjh View Post
Guys,
Could anyone let me know, how we can see the contents of .tar file without extracting it.

I know the extracting and combine options
Regards

Code:
tar -tvf name.tar

Sponsored Links
    #3  
Old 10-27-2008
sdosanjh sdosanjh is offline
Registered User
 
Join Date: Jul 2008
Last Activity: 24 September 2014, 9:19 AM EDT
Posts: 140
Thanks: 48
Thanked 1 Time in 1 Post
Bug

Thanks dude.... it works
    #4  
Old 10-27-2008
hoggy hoggy is offline
Registered User
 
Join Date: Oct 2008
Last Activity: 7 April 2009, 10:59 AM EDT
Location: South Africa
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Try man tar (or any command)
This will give you stacks of info about the command, .... and look at the examples. sometime's you get lucky.
You could also try man man.

cheers.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to view unix file ? Sanchoniathon Shell Programming and Scripting 3 02-28-2012 04:00 PM
How to view users in unix jerome UNIX for Dummies Questions & Answers 6 06-09-2006 03:44 PM
How to view ps and pdf file under unix vicky20000 UNIX for Dummies Questions & Answers 2 01-08-2004 10:47 PM
Unix code - how to view? What is it? peter.herlihy UNIX for Dummies Questions & Answers 2 08-23-2002 09:56 PM



All times are GMT -4. The time now is 08:26 AM.