Monthly Archives: May 2012

Extract one file using tar

I needed to extract a single file from a tarball or tar file. The following line is what I used to complete this. sudo tar -C subdir_1/ -zxvf my_etc.tar etc/aliases The break down: tar – the command -C – tells … Continue reading

Posted in Linux, Uncategorized | Leave a comment