Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
linux_wiki:archive_compress_unpack_and_uncompress_files_using_tar_star_gzip_and_bzip2 [2016/02/29 22:46] billdozor [gzip] |
linux_wiki:archive_compress_unpack_and_uncompress_files_using_tar_star_gzip_and_bzip2 [2016/02/29 22:47] billdozor [star] |
||
---|---|---|---|
Line 54: | Line 54: | ||
===== star ===== | ===== star ===== | ||
+ | Install (usually not there by default) | ||
+ | <code bash> | ||
+ | yum install star | ||
+ | </ | ||
+ | |||
+ | \\ | ||
Archive and compress the /var/log directory (name it logs.tar.gz) | Archive and compress the /var/log directory (name it logs.tar.gz) | ||
<code bash> | <code bash> | ||
Line 103: | Line 109: | ||
</ | </ | ||
+ | \\ | ||
Decompress an archive | Decompress an archive | ||
<code bash> | <code bash> | ||
Line 110: | Line 117: | ||
</ | </ | ||
+ | \\ | ||
Cat a compressed file (useful for rotated logs) | Cat a compressed file (useful for rotated logs) | ||
<code bash> | <code bash> |