While I was busy installing LFS and BLFS packages, I got annoyed with untarring source tarballs. I always seem to forget if something was a .tar.gz or a .tar.bz2 archive. Since I like to use the <tab> key, i usually typed something like tar -zxf ../pkg<tab>.<tab> for this mostly works fine. But if it happenend to be a .tar.bz2 archive, i had to go back to the beginning of the line to change -z into -j.

Long story, but since a new version of the tar package is installed anyway, and since it supports a cool feature, it might be nice to change the few tar commands to:

tar -xf ../pkgbla-1.2.3.tar.gz

The tar package from the standard LFS installation supports this, and I like it! No more backtracking to the beginning of the line, just type something, use the <tab> key as mush as you like (yay!), and your life will be better!

Small change, saves a lot of annoyment, and new linux users should learn the power of the <tab> key. Might even be useful to mention this somewhere in the LFS book, since the command is user very often.

Example: Vim-6.3

Anyway, even for the old experienced linux users it is nice to know: just use tar -xf of tar -xvf for *ANY* .tar.gz, .tar.bz2 or .tar archive =)
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to