|
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 |