Step 1/3: Pack and compress
tar packs many files into one archive. -c creates, -z compresses with gzip, -f is followed by the archive name, then the files or directories to pack. -v lists every file.
$ tar -czf backup.tar.gz projectsFundamentalstar
Pack and compress a directory
Pack the todo directory into a gzip-compressed archive named todo.tar.gz.
$$$$$$$$$$$$$$$$gggggggggggggggggggggggggggggggg
Exercise: Pack and compress a directory. The result appears on the left when you're don
e.
user@elp:~/challenge$