Howto uncompress a .TAR.GZ file in the Linux terminal

By conner_bw on 2009-08-21 11:05:27

I use MacOSX . By default, I use .ZIP compression or .DMG images (Death to .SIT files). Every once in a while I have to administer a Linux box and I run into a TAR or a TAR.GZ file, but I alway forget how to uncompress it. As a favour to myself, and to avoid searching for the term "How do I unzip a TAR.GZ file?" I'm jotting, this down for all future generations too lazy to read the man page.

TAR is a compression technology used to create a Tape ARchive files. The resulting file is known as a tarball. To uncompress it use:

tar xvf filename.tar

If the tarball has also been gzipped, it will have the extension TAR.GZ and you can use the following command:

tar xvfz filename.tar.gz

Roll credits:

x = extract files from an archive
v = verbosely list files processed
f = use archive file or device F
z = filter the archive through gzip

Permanent Link, Comments (0) Tags: Uncompress, Unzip, Tar, Gz

Slashdot Facebook Twitter Myspace StumbleUpon

Sux0r 2.0.7

By conner_bw on 2009-08-07 08:20:25

Summary of changes: The behavior of the <select> list was changed to make it easier to initially train documents. SQL queries were reduced when doing loginCheck(). The way we ignore indexes was changed to be compatible with XAMPP. The code tries to use iconv //TRANSLIT for RSS feeds. The killSession() function was moved to the suxUser() class. Corrupted stopword files were fixed. An issue with an unwanted ampersand character showing up in photoalbum listings was fixed. JavaScript menus were fixed so that they appear over the slider. Rounded borders were added to the default template. Other minor optimizations were made. Smarty was updated to 2.6.26, and TinyMCE to 3.2.5

While upgrading, I accidentally deleted my data directory. I am thoroughly embarrassed. This means things like photos and avatars have gone missing. Let this be a lesson to do backups. The same kind of lesson you get when being kicked in the genitals. Hopefully the data files will be recovered in the next few days.

Edit: The photos have returned. Horray! Thank you Network Redux, world's greatest web hosting company.

Permanent Link, Comments (0)

Slashdot Facebook Twitter Myspace StumbleUpon

Unless otherwise specified, contents of this site are copyright by the contributors and available under the
Creative Commons Attribution 3.0. Contributors should be attributed by full name or nickname.