May 2017
Beginner
552 pages
28h 47m
English
The tar command creates, updates, examines, and unpacks archives.
$ tar -cf output.tar [SOURCES]
The c option creates a new archive and the f option tells tar the name of a file to use for the archive. The f option must be followed by a filename:
$ tar -cf archive.tar file1 file2 file3 folder1 ..
$ tar -tf archive.tar
file1
file2