Select Page

How to tar a file using SSH?

Use the following command if you want to create a tar and compress a file (or folder). tar -czf /path/to/save/file.tar folder_or_file_name The options used in the above command are outlined below for your understanding. -c = create -z = compress a file -f = use the...

SSH ls pagewise or limit long output

If your SSH ls command output is really long, and cannot be viewed on screen – you can use the following command to part of it with a more command to continue down the list. ls [options here] | more Example:- ls -l | more