Unix TAR Commands

Create tar file
tar cvf filename.tar Sample.txt Sample2.txt

Add a file
tar uvf filename.tar Sample.txt

Extract tar file
tar -xvf filename.tar

List contents
tar tf monkey.tar

 

0 comments: