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.
Rebuilding The Apache Configuration

Rebuilding The Apache Configuration IF YOU FACE THE FOLLOWING ERROR MESSAGE WE NEED TO Re Build the apache configuration If you feel you have reached this page in error, please contact the web site owner: webmaster@tweetchennai.com It may be possible to restore access to this site by following these instructions for clearing your dns cache. […]