How To Compress And Uncompress File In Red Hat
Zip, Unzip :
What is zip & unzip in red hat?
Zip is a compress & unzip is uncompress. Most of the download data is compress , due to the compression data size is decries.
Eg :
Command
[root@localhost~]#cat > /root/Desktop/abc
Learn with BookOfNetwork.
.
.
Ctrl + D (save & exit)
How to compress file in red hat?
Command
[root@localhost~]# gzip –v /root/Desktop/abc
Original file name is compress & change name “abc.gz” & it’s icon “gz” is extension.
How to uncompressed file in red hat?
Command
[root@localhost~]#gunzip /root/Desktop/abc.gz
now your compress file is uncompressed and file name is change & it’s icon.
How to check the data size is decries or not in red hat?
Command
[root@localhost]du –h /root/Desktop/abc