December 2012
Intermediate to advanced
888 pages
48h 24m
English
The tar tool, the bewhiskered old man of archiving utilities, is installed by default. It is an excellent tool for saving entire directories full of files. For example, here is the command used to back up the /etc directory:
matthew@seymour:~$ sudo tar cvf etc.tar /etc
Here, the options use tar to create an archive, be verbose in the message output, and use the filename etc.tar as the archive name for the contents of the directory /etc.
Alternatively, if the output of tar is sent to the standard output and redirected to a file, the command appears as follows:
matthew@seymour:~$ sudo tar cv /etc > etc.tar
The result is the same.
All files in the /etc directory will be saved to a file named etc.tar. With an impressive ...
Read now
Unlock full access