Tags:
create new tag
, view all tags
See beginners man pages.

This is a working scratch pad for the beginners man pages effort. Add additional headings if you start "scratching" on a new command.

Contents:

General disclaimer

These <somethings> are simple examples of common uses of common Linux commands. In most cases, the commands have many more options. See the man page for each specific command or other more complete references.

tar

Just experimenting with the format and words for tar:

<Should I include notes like the next several?>

Tar is somewhat like zip in dos / windows, except that:

  • The original tar did not compress / uncompress -- it needed to work in conjunction with something like gzip (or zip) -- the original tar basically concatentates a bunch of files together or separates them. Tar now includes the c (compress) and z (uncompress) options.
  • Whereas dos / Windows zip programs extract files from a zip file leaving the zip file intact, or create a zip file from a list of files leaving the files intact, tar moves the files into or out of the archive -- a copy is not preserved. You may want to make your own copy before running tar.

Extract files from a tar file:
tar -xvf <tar file>

Extract [and uncompress] files from a [gzipped] tar file:
tar -[z]xvf <tar file>

Dissolve (??) a tar file:
tar -xvf <tar file>

Or,

  • Separate tarred files
  • Separate a tar file into its constituent files *

The original first attempt:

  • tar -xvf <tar file> Extract files from a tar file < add (into the current directory)?>
  • tar -zxvf <gzipped tar file> Gunzip and extract files from a gzipped tar file.
  • tar -cvf <tar file> <list of files> Tar the list of files into the tar file
  • tar -zcvf <gzipped tar file> <list of files> Tar and gzip the list of files into a gzipped tar file

Contributors

  • RandyKramer - 29 Jan 2002
  • <If you edit this page, add your name here, move this to the next line>
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2002-02-06 - RandyKramer
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by PerlCopyright 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding WikiLearn? WebBottomBar">Send feedback
See TWiki's New Look