DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Compress File In SSH
The below will compress a file or folder in .tar.gz format in SSH.
tar -zcvf <new_tar_filename>.tar.gz <filename/directory>