How can I tell what version of tar I have?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How can I tell what version of tar I have?
# 1  
Old 10-07-2005
Displaying software versions

I know this should be easy, but Google is not turning up any results:

How can I find out what version of software (like tar and gzip) I have installed on my Sun box?

Thanks!
# 2  
Old 10-07-2005
Sorry, typed too quickly .... not gzip .... tar and top
# 3  
Old 10-07-2005
How can I tell what version of tar I have?

I looked through the man pages and google searched, but I can't find any way to display what version of the tar utility I have. (I'm on SunOS 5.8)

Thank you!
# 4  
Old 10-07-2005
Merged your different threads - please do not make duplicate posts (see the rules ).

As far as finding a version, you can try running strings against the executable to see if the version is placed inside.

$ strings /bin/tar | grep -i version
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to check tar version in Solaris?

for pkg in `pkginfo | grep tar | grep application | awk '{print $2}'`; do pkginfo -l $pkg | grep VERSION; done Please use CODE tags as required by forum rules! (2 Replies)
Discussion started by: svijayas
2 Replies

2. Fedora

How to download latest version of cmake using tar xzf?

...... (3 Replies)
Discussion started by: larry burns
3 Replies

3. Shell Programming and Scripting

Copy a file from directroy/ prior version to the directory/ new version

How to copy a file from directroy/ prior version to the directory/ new version automatically. (4 Replies)
Discussion started by: roy1912
4 Replies

4. UNIX for Dummies Questions & Answers

Do I need to extract the entire tar file to confirm the tar folder is fine?

I would like to confirm my file.tar is been tar-ed correctly before I remove them. But I have very limited disc space to untar it. Can I just do the listing instead of actual extract it? Can I say confirm folder integrity if the listing is sucessful without problem? tar tvf file1.tar ... (1 Reply)
Discussion started by: vivien_chu
1 Replies

5. Shell Programming and Scripting

tar command to explore multiple layers of tar and tar.gz files

Hi all, I have a tar file and inside that tar file is a folder with additional tar.gz files. What I want to do is look inside the first tar file and then find the second tar file I'm looking for, look inside that tar.gz file to find a certain directory. I'm encountering issues by trying to... (1 Reply)
Discussion started by: bashnewbee
1 Replies

6. AIX

tar version

Hi How to find the version of tar installed in my aix box ? (1 Reply)
Discussion started by: samsungsamsung
1 Replies

7. UNIX for Dummies Questions & Answers

How to install new version of tar under solaris 9

Hello, I'm trying to install new version of tar under solaris "tar-1.23-sol9-sparc-local.gz" in Solaris, I downloaded this version from sunfreeware.com I unzip it and I found only binaire file no Readme... some one vcan help ?? Thanks (2 Replies)
Discussion started by: Sigma
2 Replies

8. UNIX for Dummies Questions & Answers

tar -cvf test.tar `find . -mtime -1 -type f` only tar 1 file

Hi all, 4 files are returned when i issue 'find . -mtime -1 -type f -ls'. ./ora_475244.aud ./ora_671958.aud ./ora_934052.aud ./ora_934050.aud However, when I issued the below command: tar -cvf test.tar `find . -mtime -1 -type f`, the tar file only contains the 1st file -... (2 Replies)
Discussion started by: ahSher
2 Replies

9. UNIX for Advanced & Expert Users

tar: how to preserve atime? (also on extracted version, not just original)

How do I make tar set the correct atime on the extracted version? The option --atime-preserve works just on the original, not on the extracted file. The extracted files always have current time as atime, which is bad. (10 Replies)
Discussion started by: frankie06
10 Replies

10. HP-UX

HP tar version

Guys, I need to know what version of tar i am using in our HP B11.11 box (model = 9000/800/rp8420 ). We have created a tar file and i wanted to know if the tar version i used supported 8GB-sized files (Check sanity of the archived file). As you know old version of tar is limited to files... (0 Replies)
Discussion started by: marlonus999
0 Replies
Login or Register to Ask a Question