s i s t e m a o p e r a c i o n a l m a g n u x l i n u x | ~/ · documentação · suporte · sobre |
Next
Previous
Contents
4. Using bzip2 with tarListed below are three ways to use bzip2 with tar, namely 4.1 Easiest to set up:This method requires no setup at all. To un-tar the bzip2'd tar archive, foo.tar.bz2 in the current directory, do
or
These work, but can be a PITA to type often.
4.2 Easy to set up, fairly easy to use, no need for root privileges:Thanks to Leonard Jean-Marc for the tip. Thanks also to Alessandro Rubini for differentiating bash from the csh's.
In your .bashrc, you can put in a line like this:
In your .tcshrc, or .cshrc, the analogous line looks like this:
4.3 Also easy to use, but needs root access.Update your tar to GNU's newest version, which is currently 1.13.10. It can be found at GNU's ftp site or any mirror.
Next Previous Contents |