atool is a script for managing file archives of various types such as .zip, tar.gz and all other formats. From the article:
Atool uses other tools behind the scenes to perform the heavy lifting. With atool, you can handle any archive without having to remember what command-line tool to use to expand it and which options that particular tool expects. Atool comes with a collection of commands, including aunpack, apack, als, acat, adiff, and arepack. The tools are all links to the main atool Perl script, but they perform the actions that their name suggests -- for example, unpacking or creating a new archive.
Debian / Ubuntu Linux user can install atool using apt-get command, enter:
$ sudo apt-get install atool
$ aunpack backuo.tar.gz
$ aunpack -e *.tar.gz
$ apack myarchive.zip foo bar
$ man atool
=> Download atool package (via Linux.com)
Recently updated/posted Linux and UNIX FAQ:
=> Boot Ubuntu Linux into Rescue mode to fix system - How do I boot my Ubuntu Linux server into Rescue mode to fix system?
=> Unable to create installation source - Add directories into YaST as an installation source - I have created my own patch files on the hard drive. How do I add all those directories into Suse Linux YaST as an installation source?
=> How to uninstall GRUB - How do I uninstall GRUB using old good MS-DOS fdisk or Linux/UNIX dd command?
=> Can I run fsck or e2fsck when Linux file system is mounted? Can I run run fsck/e2fsc on a live Linux file system?
=> Configure Sendmail SSL encryption for sending and receiving email - Configure Sendmail MTA to use SSL encryption for sending/receiving email using valid SSL certificate.
=> Linux configure Network Address Translation or NAT - Old good Linux NAT!
=> Use sudo or sudoers to start, stop & restart Apache - Sudo to stop and/or restart Apache web server!
=> How to install firefox-2.0.tar.gz in Linux - I have downloaded firefox file from mozilla web site to my Linux desktop system. The name of file is firefox-2.0.tar.gz. How do I install firefox-2.0.tar.gz in Fedora Core Linux?
This is a simple backup solution for people who run their own web server and MySQL database server on a dedicated or VPS server. Most dedicated hosting provider provides backup service using NAS or FTP servers. These service providers will hook you to their redundant centralized storage array over private VLAN. Since, I manage couple of boxes, here is my own automated solution. If you just want a shell script, go here (you just need to provided appropriate input and it will generate FTP backup script for you on fly, you can also grab my php script generator code).
[click to continue…]
GnuPG is a complete and free replacement for PGP. You will use gpg command to validate a GPG certificate. For example, purpose download Apahce-web server tar ball. Visit Apache web site to download latest version of Apache. As usual, use wget command:
$ wget http://www.apache.org/dist/httpd/httpd-2.0.55.tar.gz
Next download gpg key listed next to download link:
$ wget http://www.apache.org/dist/httpd/httpd-2.0.55.tar.gz.asc
How do I verify integrity of the tar ball?
Use gpg command as follows:
$ gpg httpd-2.0.55.tar.gz.asc
gpg: Signature made Monday 10 October 2005 07:05:15 AM IST using RSA key ID 10FDE075
gpg: Can't check signature: public key not found
You will see an error message 'Can't check signature: public key not found'. It means you need to get the key (called 10FDE075) and install it in your public keyring. You can download key from free public key server such as pgpkeys.mit.edu
$ gpg --keyserver pgpkeys.mit.edu --recv-key 10FDE075
gpg: requesting key 10FDE075 from hkp server pgpkeys.mit.edu
gpg: key 10FDE075: duplicated user ID detected - merged
gpg: key 10FDE075: public key "email@example.com" imported
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
Once the key is installed, use the following command to check the certificate of a source code file/tar ball:
$ gpg --fingerprint 10FDE075
$ gpg --verify httpd-2.0.55.tar.gz.asc httpd-2.0.55.tar.gz