Shell/Bash: how to tar a file Example

By

Shell/Bash Example: This is the "how to tar a file" Example. compiled from many sources on the internet by SimpleTutorials.org

how to tar a file

tar -czvf name-of-archive.tar.gz /path/to/directory-or-file

how to tar linux

tar -zcvf file.tar.gz /path/to/dir/

how to tar

tar -czvf name-of-archive.tar.gz /path/to/directory-or-file

how to make a tarball in linux

tar -cvzf name.tar /path/to/directory


* Summary: This "how to tar a file" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others