Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 10. File Compression, Backing up and Restoring

Chapter 10. File Compression, Backing up and Restoring

CommandDescriptionCommandDescription
arCreate modify and extract from archives.uncompressExpand data.
bunzip2File decompression program.unzipunzip <file> - unzip a zip file. Files ending in ".gz" or ".zip" are compressed.
bzcatDecompress files to stdout.zcatUsed to restore compressed files.
bzip2File compression program.zcmpCompare compressed files.
bzip2recoverRecovers data from damaged bzip2 files.zdiffCompare compressed files.
compressCompress data.zforceForce a .gz extension on all gzip files.
dumpReads the filesystem directly.zgrepSearch possibly compressed files for a regular expression.
gunzipunzip <file> - unzip a gz file.zmoreFile filter for crt viewing of compressed text.
gzexeCompress executable files in place.znewRecompress .z files to .gz files.
gzipgzip <file> - zip a file to a gz file.zipzip <file> - make a zip file.


Tip: UNIX allows wildcards in almost all commands - it is actually a feature of the shell. UNIX also uses the wildcard characters in pattern matching, but the meaning is only similar, not identical. Wildcard is mostly used to work with file management commands.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint