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 .

1 Comment »

  1. Synthia, these commands are very useful.

    The command ‘ifconfig’ is for Linux o.s. only, For Windows o.s. it is ‘ipconfig’, To get the detailed information about the System IP address it is, ‘ipconfig /all’.

    Keep posting such useful stuff.

    Regards,
    Shruti :)

    Comment by Shruti — February 21, 2008 @ 7:11 am


RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.