All the following commands can be used by putty (follow the link to download) or if you have VPS server just login to you VPS account and hit console button it will take you to SSH directly. All the SSH commands are common an can be used where it requires SSH login (Hosting Accounts, VPS Account, Dedicated Server, to access your iPhone, ipad)
If you having Reseller Account or shared account then i’m sorry this article would be waste of time for you.
Extract Commands
a Tar file: tar -xvf filename.tar
a Tar.Gz file: tar -zxvf filename.tar.gz
a Rar file: rar x filename.rar
Changing Directory
Change Directory – cd :
e.g. cd /usr/bin (leave a space and then type destination) /usr/temp
Jump to home directory
cd ~
Jump to one directory back
cd
Editing or view files, there are commonly used editors which installed by defaults
pico & vi to edit files
pico /home/directoryname/another-directory-name/filename.html
vi /home/directoryname/another-directory-name/filename.extension
Delete a file OR Folders
rm filename.extension
rm -rf directoryname/
———-
Download this cool application and save your time. The application called “WinSCP” and it is available for windows only, they haven’t released MAC version yet.
About the author