File compression, backing up and restoring:

ar Create modify and extract from archives.

bunzip2 Newer file decompression program.

bzcat Decompress files to stdout.

bzip2 Newer file compression program.

bzip2recover Recovers data from damaged bzip2 files.

compress Compress data.

cpio Can store files on tapes. to/from archives.

dump Reads the filesystem directly.

gunzip unzip <file> – unzip a gz file.

gzexe Compress executable files in place.

gzip gzip <file> – zip a file to a gz file.

mt Control magnetic tape drive operation.

Can store files on tapes.
Usage: tar cvf <destination> <files/directories> – Archive copy groups of files
Ex: tar /dev/fdo temp Effect: Copy temp to drive A:

uncompress Expand data.

unzip unzip <file> – unzip a zip file. Files ending in “.gz” or “.zip” are compressed.

zcat Used to restore compressed files.

zcmp Compare compressed files.

zdiff Compare compressed files.

zforce Force a .gz extension on all gzip files.

zgrep Search possibly compressed files for a regular expression.

zmore File filter for crt viewing of compressed text.

znew Recompress .z files to .gz files.

zip zip <file> – make a zip file.


Written by 

I am Sakthivel Madesh, a certified Salesforce Advanced Developer & Administrator working on Salesforce Technology since 2011. I am currently working in Techforce Services as Sr. Salesforce Developer. I have worked on multiple technologies Like PHP, Java, Salesforce, I am very passionate about Salesforce and to earn 15x Salesforce Certification. I love Trailhead for learning Salesforce Skill and Become a Trailhead 5x Ranger too. I Love to Learn & Share my Salesforce knowledge to Salesforce Learners/Beginner using My Blog and Salesforce Community.

Leave a Reply

Your email address will not be published. Required fields are marked *