Posts Tagged ‘unix’

Linux/Unix 101: Using “tar” And “gzip” To Create and Extract Files From Archives

The tar program is used to collect many files into one larger file usually for archival purposes. The gzip program is used to compress large files. Creating a compressed tar file: tar cvf archive.tar some_directory/ gzip -9 archive.tar The first command creates the file archive.tar which contains a copy of all files and subdirectories in […]