shell script that take a directory and create a compressed archived (.tar.gz) code example Example: create tar gz file from directory tar -czf tarball.tar.gz my_directory/