ubuntu how to turn a .tar.gz into a application code example Example: create tar gz file from directory tar -czf tarball.tar.gz my_directory/