LINUX Play Ground

 

Begining with the easier things:

* Changing Password:        $passwd

 

*  Adding user to root :       $adduser jolly .Usually in the /sbin/adduser directory.

 

*Multiple terminals:             $ who    :this command gives the terminal name and also gives the IP address of the computer that everybody is logged to !!!

 

*  ls  :lists all the files in the directory.                                                                                                                   

    ls-a      : lists even the files that begin with period. These files are created by LINUX for you!!!
    ls -l      :gives the detailed description of each files.
Other parameters: ls -r, ls  -m

 

*Manual Help: man
Ex man ls
Finding keywords: man -k string :Like Google !!! Neat and simple

 

*  Command to find out who all are FINGERing  and sloging on the computer even at night :   

$finger         : This command lists all the people logged on to the server at that moment.   

 

* $finger sudeepg      :This command tells you if sudeepg is still logged on. And if not when did he last log in.                   

 

*$mesg y    :This makes your terminal active to receive talk message from others You can put this command permanently in your .bashrc file (more about it later)  .                                                                           Similarly,  $mesg n makes your terminal inactive for talking, and now you cannot recieve talk messages from others.

 

* $ talk sudeepg : you can send talk message to sudeepg by this command.This will initiate talk between you and sudeepg ,when the conatct is established.

 

*Another Very Interesting Command:more
Ex. ls -l /sudeepg | more
other similar command:Less

 

*alias: This command converts long boring commands to sweet short ones!                                                       

Ex $ alias f ="finger" ;Now you can just type f on the prompt to invocate finger command.Therefore ,you donn't have to type this command again and again.


   PREV  HOME   NEXT