You are Here: FAQ ->Web Space & Access->Secure Shell Access (SSH)->Article #7


Important commands in SSH.


The following are a few basic and important commands that can be used in SSH:
Command Description
pwd print working directory: lists the directory structure you are currently in
ls -l or dir list the directories and files
cd .. move one directory below
cd dirname go to directory named "dirname"
mkdir newdir create a new directory named "newdir"
rm filename remove file named "filename" (Please use this command with caution. Once the file is deleted there is no way we can restore it)
crontab -l lists all the cron jobs
mv move a file from one directory to another or rename a file
tar -czvf filename * creating a tar file (backup of *)
tar -zxvf filename unzipping a tar file
unzip filename unzipping a zip file
mysql accessing mysql database
mysqldump importing a database into mysql


SW3B405


Print Article
How useful was this article?
(From 5 = Very Useful to 1 = Not useful at all):
1 2 3 4 5