How to Dump just the table structure file in MySQL

How to Dump just the table structure file in MySQL The mysql dump utility can be used as like taking the mysql database Syantax will be mysqldump -d -h localhost -u root -p databasename > dumpfile.sql The only option that is different than creating an entire backup is the -d switch, which tells mysqldump not […]
List and Control Process Using SSH

List and Control Process Using SSH To list all processes which are started by your user, you can use root@freehost [/]# ps -x where ps is the command and x is the argument we are passing to it PID TTY STAT TIME COMMAND 3735 pts/0 R 0:00 bash 3775 pts/0 R+ 0:00 ps x 5032 […]
Searching for files/text using SSH

Searching for files/text using SSH If you want to the find the files or folders under a specific location or directory,ssh provides two different commands. find and grep command. to search for a file location you can use the the find command. For example if you want a search a file called abc.txt,you can use […]
Moving and copying files using SSH

Moving and copying files using SSH Often you will move or copy the files from different location.This can be done using ssh The two command which we going to use is mv and cp the syntax for move command is the syntax for move command is mv config-dist config Alternatively you can move whole directory […]
Adding name servers in command line

Adding name servers in command line 1.Log into the root via ssh 2.open your favourite editor and edit vi /etc/nameserverips file ns1.domainname=x.x.x.x ms2.domainname=x.x.x.x 3.Update the name server 4.save the file.