Compression in unix is done by using the tar and gzip command. Using these commands we can combine a list of files into tar and compression it using gzip command.
tar command in unix
tar cf file.tar files – create a tar named
file.tar containing files
tar xf file.tar – extract the files from file.tar
tar czf file.tar.gz files – create a tar with
Gzip compression
tar xzf file.tar.gz – extract a tar using Gzip
tar cjf file.tar.bz2 – create a tar with Bzip2
compression
tar xjf file.tar.bz2 – extract a tar using Bzip2
gzip command in unix
gzip file – compresses file and renames it to
file.gz
gzip -d file.gz – decompresses file.gz back to
file
To learn basic search in unix visit tutorial Searching in Unix
To learn system information commands visit tutorial System Information commands in unix
Related posts:


Adore your writing skill! Though actually you are able to include the odd one or two notions to improve it.