Common SSH Commands
Common SSH Commands Move into another directory Use this command to move into a directory: cd You can specify the full path from the root of the server: cd /home/00000/domains/ You can type the path from where you are now (leave out the beginning /): cd downloads/ You can go up a directory level: cd .. You can go to your home directory: cd ~ Where am I? Working with your server without graphics can take a little getting used to. If you ever need to see exactly which folder you're in, use the following command: pwd It stands for print working directory. You'll see output like this: /home/00000/data/ What's here? Next, we want to see a list of files and folders in our current directory: ls -alh ls is the list command, and -alh modifies the standard list in three ways. a means that all files, even hidden files, should be shown. l means that the long format is used - it shows things like file size and the date every file was last modified. h makes ...