Linux: Working with archivers (gzip, bzip2 and 7zip)

Method 1 Step 1: Group the file you need to compress by using tar command. root@bt:~/fw-scripts# tar -cf firewall.tar firewall.sh root@bt:~/fw-scripts# ls -la total 24 drwxr-xr-x 2 root root 4096 2011-08-04 00:35 . drwx------ 33 root root 4096 2011-08-04 00:00 .. -rwxr--r-- 1 root root 967 2011-08-03 01:42 firewall.sh -rw-r--r-- 1 root root 10240 2011-08-04 … Continue reading Linux: Working with archivers (gzip, bzip2 and 7zip)