Backing up your files

You can backup your home directory using tar and gzip as follows:

tar czvf /tmp/home.tar.gz ~

The above command creates a compressed tarball of your home directory in the temporary directory of the system. See Section 6.13.8 for a better way of backing up your files.