Sunday, February 5, 2017

LINUX BASICS



Commands:
  •  Sudo : Super user do.

     ROOT is the admin user in Linux. If a user logins as ROOT they can do anything in linux.
     If hackers can login as ROOT and cause problems.
     So in Ubuntu we can't login as ROOT so we need to use Sudocommand.
     Sudo command allows us to run commands as Administrator.

     Ex: Sudo apt-get
  • man :
        man command gives the description of the Linux commands.
        ping displays all the Ubuntu commands.

      Ex: man ping
  • q :
          q Command is used to quit and return to previous page.

  • clear screen :
           Clear screen command is  used to clear the linux terminal screen.


  • apt-get
          This command is used to manually install or uninstall or update the servers in linux from web.
          Ex: sudo apt-get install apache2
                 sudo apt-get remove apache2   
                 sudo apt-get upgrade apache2 

           To use this command we need to  install it in Linux.

How to execute commands in Linux:
  •  Open Terminal which is a command line tool in Linux.





No comments: