This is a guide on some simple commands on SSH that you should know when you start using a VPS.
Use this command to change your current directory. The root of the hard disk is "/". The current directory "./". The parent directory of the current one is "../", and it's parent is "../../", etc. Most commands will assume the current folder if you try manipulating a file with establishing a path. /usr/local is where you will find most software, including Apache and most control panels, such as cPanel.
This command lists the contents of a directory. You can add a path to the end of this command to list all the contents of that folder, or you can just leave it without a parameter to list all the contents off the current folder.
This command copies files. The syntax is to first write the current path of the file(s), and then the destination. In order to copy full folders, and add a /* to the end of the path of your folder. You don't need to modify the destination at all. If you want to copy without questioning any overwrites, use cp -f (f = force).
This is Linux's sort of "notepad." See here for more info: http://www.comptechdoc.org/os/linux/...inux_ugvi.html
You can modify permissions on files using this command. The syntax is to first write the permissions you want (eg. 444, 644, 777), and then give the path to the file you want to modfiy.
This will give you the end contents of a file you specify. Handy for viewing small files or log files without going into a text editor.
Will find any files in your system under the name you specify.
Will remove a file. Use rm -f /path/* to removed all files from folder "path."
Will remove a directory. However, it must be empty.
Make a new directory.
Untar or untar-gzip a file. Use tar -xzf for untar-gzipping.
Will give you some system details, kind of like Task Manager.
Will check your disk usage.
On most systems, this refers to Apache's httpd daemon. Typing it in with any parameters should "start" httpd. If this is not the case, it is probably calling apachectl. This httpd will be located in /path/to/apache/bin/httpd.
This is a kind-of Apache monitor. It allows you to start, stop, restart, etc. Apache.
This is used for installing modules into Apache. See here: http://httpd.apache.org/docs/1.3/programs/apxs.html
This is Linux's built in text browser. In order to scroll links, use the up and down keys.
(another SSH guide on WHT)
(SSH newbie guide)
(a simple guide of basic Linux command line functions)
(a complete guide of most SSH commands)