Can I untar just one file in a tar ?

Lets say I am building servers and I have the correct copies of the 20 most messed up files.

I have a problem with a server, can I untar just 1 of the 20 files ?

I am in a linux aix solaris shop.  I only want to untar to the identical platform :)
Who is Participating?
Yes, as long as you know the file name and path.


tar xf file.tar path/in/tarfile/filename
TIMFOX123Author Commented:
this works !!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.