Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to extract .tar.gz file?
#1
tar.gz file is a compressed file and you can extract it by using a simple command.

If you have a tarball file on your Linux OS or you wish to extract it using SSH command then you can extract it by this method.


How to Extract .tar.gz file?
Code:
tar -zxvf filename.tar.gz

Replace filename with your tar filename, For example If your file name is servergame.tar.gz then run this command

Code:
tar -zxvf servergame.tar.gz


How can I extract only one file from tar.gz?
Run this command for extracting single file from tarball.
Code:
tar -zxvf filename.tar.gz setup.exe


Once it will be extracted then you can find file in same directory, For example If your file located in /root/ directory then it will extracted in same directory.
Kunnu (Administrator)
Dewlance.com - Best Web Hosting

Create a Ticket
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)