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
#Zip_file_in_red_hat #Unzip_file_system_in_red_hat #What_is_zip_&_unzip_in_red_hat #How_to_compress_file_in_red_hat #How_to_uncompressed_file_in_red_hat #How_to_check_the_data_size_is_decries_or_not_in_red_hat

(New page will open, for Comment)

Not yet commented...