26.10.2012 Views

SUSE LINUX Documentation - Index of

SUSE LINUX Documentation - Index of

SUSE LINUX Documentation - Index of

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

110 Start-Up<br />

-d<br />

Decompresses the packed gzip files so they return to their original size and<br />

can be processed normally (like the command gunzip)<br />

tar options archive files<br />

tar puts one or more files into an archive. Compression is optional. tar is a quite<br />

complex command with a number <strong>of</strong> options available. The most frequently used<br />

options are:<br />

-f<br />

-c<br />

-r<br />

-t<br />

-u<br />

-x<br />

-z<br />

-j<br />

-v<br />

Writes the output to a file and not to the screen as is usually the case<br />

Creates a new tar archive<br />

Adds files to an existing archive<br />

Outputs the contents <strong>of</strong> an archive<br />

Adds files, but only if they are newer than the files already contained in the<br />

archive<br />

Unpacks files from an archive (extraction)<br />

Packs the resulting archive with gzip<br />

Compresses the resulting archive with bzip2<br />

Lists files processed<br />

The archive files created by tar end with .tar. If the tar archive was also compressed<br />

using gzip, the ending is .tgz or .tar.gz. If it was compressed using<br />

bzip2, the ending is .tar.bz2. Application examples can be found in Section<br />

3.1.5, “Archives and Data Compression” (page 101).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!