Feeds:
Posts
Comments

Posts Tagged ‘Unix’

Some useful Linux Commands

Hi friends,

Here are some Linux commands, though basic but very much useful.

1) To know the ip address of the machine
$ifconfig
(Note – For Windows m/c its ‘ipconfig’, To get detailed information type ‘ipconfig /all’)

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

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

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

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

6) To know which process consumes more space
$top

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

HTH 🙂

Read Full Post »