How do I Gunzip all files in a directory in Linux?

How do I Gunzip all files in a directory in Linux?
Answer
gzip all the files
  1. Change the directory to audit logs as follows: # cd /var/log/audit.
  2. Execute the following command in the audit directory: # pwd /var/log/audit. …
  3. This will zip all the files in audit directory. Verify the gzipped log file in the /var/log/audit directory:
 

Tìm kiếm

Back
Top