[Next] [Previous] [Up] [Top] [Contents]

CHAPTER 8 Other Useful Commands

8.2 File Archiving, Compression and Conversion


File Archiving, Compression and Conversion Commands
Command/SyntaxWhat it will do
compress/uncompress/zcat [options] file[.Z]compress or uncompress a file. Compressed files are stored with a .Z ending.
dd [if=infile] [of=outfile] [operand=value]copy a file, converting between ASCII and EBCDIC or swapping byte order, as specified
gzip/gunzip/zcat [options] file[.gz]compress or uncompress a file. Compressed files are stored with a .gz ending
od [options] fileoctal dump a binary file, in octal, ASCII, hex, decimal, or character mode.
tar key[options] [file(s)]tape archiver--refer to man pages for details on creating, listing, and retrieving from archive files. Tar files can be stored on tape or disk.
uudecode [file]decode a uuencoded file, recreating the original file
uuencode [file] new_nameencode binary file to 7-bit ASCII, useful when sending via email, to be decoded as new_name at destination

8.2.1 - File Compression
8.2.2 - tar - archive files
8.2.3 - uuencode/uudecode - encode a file
8.2.4 - dd - block copy and convert
8.2.5 - od - octal dump of a file

Introduction to Unix - 14 AUG 1996
[Next] [Previous] [Up] [Top] [Contents]