Linux

13) How to extract rar files in Linux-Ubuntu


     unrar x filename.rar


Example : unrar x songs.rar


(Note : To do unrar , we should install that by sudo apt-get install unrar)


------------------------------------------------------------------------------------------------- 


12)when you type any URL in address bar,That will show particular webpage for that address.

     If we type any URL in address bar,that not directly fetch exact webpage from a server,which will go via 2 to 3 router and then shows a webpage


     To know that routers path


 Go to TERMINAL and type command as :


     host www.google.com(Note : which shows 4 to 5 addresses)


-------------------------------------------------------------------------------------------------


11)To Reboot(Restart) your system by command

Go to TERMINAL  : 

STEP 1 : You should login as root by su root command in TERMINAL and enter a password for root(Note : Your system login password and root password are different)


STEP 2 : Type a command as reboot and then press enter,your system will be restarted

-------------------------------------------------------------------------------------------------
 
 10)To Know  What type of OS ,Username,Kernel Version,System architechture by single command


  Go to TERMINAL and type :  uname -a


-------------------------------------------------------------------------------------------------


9) I got a good command to download (clone) a website 


    wget --mirror <websitename>

 Example : wget --mirror http://www.google.co.in


(Note : By Using this you can get downloaded webpage in home folder)

-------------------------------------------------------------------------------------------------

8) To Know Your System Hardware Configuration ,OS Details,Uptime etc


Go to TERMINAL and type sysinfo


(Note : sudo apt-get install sysinfo)


-------------------------------------------------------------------------------------------------

7) Create an ascii "banner". Type figlet "Any Text"


figlet "KLUG"  (Note : sudo apt-get install figlet)

-------------------------------------------------------------------------------------------------


6) How to block particular website in Linux-Ubuntu :


go to TERMINAL and type a command as


   sudo gedit /etc/hosts (or) sudo nano /etc/hosts


-------------------------------------------------------------------------------------------------




5)You can get overall your system information  by following linux command 


               sysinfo


Note:Before going to this ,you should install sysinfo by 
        sudo apt-get install sysinfo


-------------------------------------------------------------------------------------------------


4)To Find IP Address via Command mode


Go to TERMINAL and type following Command: ifconfig


-------------------------------------------------------------------------------------------------


3)How To Uninstall Application Softwares In Linux Via        COMMAND MODE:
  
Go to TERMINAL and type following Command
                                  sudo apt-get remove packagename 
                                             
                               Example   : sudo apt-get remove vlc


-------------------------------------------------------------------------------------------------



2) How To Install Application Softwares In Linux Via        COMMAND MODE:
  
Go to TERMINAL and type : sudo apt-get install packagename 
                                             
                               Example   : sudo apt-get install vlc
-------------------------------------------------------------------------------------------------
      
     1) How To Install  LINUX-UBUNTU Operating System :




           1) Insert Linux CD  in your Computer and Restart Your Computer


           Note : Go to BIOS Setup and set BOOT DEVICE OPTION as CD-ROM (CD-ROM Option is Default)


           2)After Booting From CD , we will see that as


                 
                     In this above page Select  ENGLISH and cllick FORWARD button. (We can choose TAMIL Language also.It will show installation steps and overall system shows in TAMIL). After Clicking Forward Button. You can see that as

3)


           In this Above step click FORWARD Button


     Note : If you have internet connection, you can choose Download Updates While Installing , Install This Third-Party Software options


Step-4:




  In this Above Page,choose any one option for your choice
  
             ERASE UBUNTU 10.10 AND REINSTALL - When selecting This Option,If you have old Linux version already installed. It will be Removed and 11.04 will be installed.


             UPGRADE UBUNTU 10.10 TO 11.04           - When Selecting This Option, If You have older Version of ubuntu like upto 10.10,It will be removed and 11.04 will be installed. This option will have older version data's like DESKTOP data's, DOCUMENTS, VIDEOS, MUSIC , DOWNLOAD data's etc will be paste in newly installed OS  This is  Beauty Of this option.


            ERASE EVERYTHING AND REINSTALL  -This will erase all already installed OS and Data's and 11.04 will be /installed


            SOMETHING ELSE                                        - This option will not do anyting


  Click FORWARD Button


Step-5




      In this  above option click ,Any one drive(Partition) for your choice and click INSTALL NOW option.


Step=6


      Select ext4 filesystem. Use CHANGE option to change and set filesystem type and select " / " for mount option. (Choose SWAP option to set Virtual RAM memory Eg: 2GB)


Step - 7


      
   Select Time-Zone like click INDIA map in above world  map and click FORWARD


Step - 8


   
 Choose Keyboard Layout as USA(This is default key board option) and click FORWARD button


Step - 9


   
           Select your name and password and FORWARD Button


Step -10



Finally ,After installation ,We will see as Above  page