Move into a directory

cd

You can specify the full path from the root of the server:

cd /home/00000/domains/

Go up a directory level

cd ..

Go to your home directory

cd ~

To see exactly which folder you are in:

pwd

*** it stands for print working directory. You will see output like this:

/home/00000/data/

To see a list of files and folders in your current directory:

ls -alh

**ls = list command
**a = means all files (including hidden) should be shown
**l = means that the long format is used
**h = makes the sizes display in convenient units.

There are more ssh commands and you can find them here:

http://kb.mediatemple.net/questions/247/Common+SSH+Commands#gs

But basically, the reason why I started reading about ssh and stuff is because I have to use it somehow to delete files inside my private sborg folder named “torrent_downloads”.

You cannot just go to file manager and delete it from there. It’ll show permission denied.

So, to delete these files, access shell and paste the following command:

rm -rf  /home/path/to/the/file/you/want/to/delete/

PUTTY DOWNLOAD PAGE

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s