Knowledge Base

February 6, 2008

Some usefull Linux Commands

Filed under: Technical — Tags: , — rkutti @ 9:59 am

To know the ip address of the machine
$ifconfig

To view list of previously typed commands in command prompt
$history | grep <word that need to be searched>

To Know the ip address of the website
$host site-name

To list all the process running in a machine
$ps aux

To kill a process that is running
$kill -9 the process code

To know which process consumes more space
$top

To know how much space the folder occupies
$du -sh .

Blog at WordPress.com.