You are Here: FAQ ->Scripting and Programming Languages->SSH (Secure Shell)->Article #6


WebHosting 5.0 This article is for 1&1 Linux WebHosting only.


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




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