Linux Basics

Linux Basics


This presentation contains some basic linux commands. I have put screenshots to make it easily understand.

Please send me your comments to Ankit Mehta , it will help me to improve future presentations.



April 07, 2013


  1. Ankit Mehta ankitmehta21 LINUX – GETTING STARTED

  2.  Linux is freely available operating system. You can download

    any of the distribution from CentOS, Fedora and if you have very low end system you can go with DSL (Damn Small Linux)  At the beginning level I would suggest you to start installing and using Linux on virtual machine, once you are comfortable with operating system you can move to install it as primary or secondary operating system. LINUX INSTALLATION
  3.  Choosing a login name is Linux should follow 

    Login name must be more than two characters long  Login name can contain lowercase and numbers  Login name must start with an lower case alphabet  Login name must not conflict with another existing username LOGIN NAME
  4.  Linux password choosing guidelines  Password must have atleast

    6 characters (This can be bypassed but as per the guidelines you must follow it)  Password must contain alphabet, numeric and/or special character.  Password are case sensitive so “Creative” is different than “creative” and “cr3@t1v3”  Some other guidelines  Avoid using easily guessed password like your family name, your library card number your pet name.  Avoid using dictionary words PASSWORD
  5.  Following network is used for this training CURRENT

    NETWORK Type OS IP Address Host Operating System Windows 7 (Connecting with putty) Guest Operating System Cent OS 6 (X64)
  6.  Open putty and enter destination IP address it will

    popup following screen as per your configuration CONNECTING TO LINUX
  7.  Once you get previously mentioned screen enter desired username

    to login to Linux (Make sure that user already exist on Linux system) ENTER USERNAME
  8.  After entering username enter password belongs to that user ENTER PASSWORD
  9.  Once you login to Unix system you will see

    prompt $, $ is the indication that system is waiting for your command UNIX PROMPT $
  10.  If you want to know the system date of

    UNIX system you can pass date command DATE
  11.  To view any text file cat command is used

    followed by file name CAT
  12.  To view the file and directory listing you can

    use ls -l command LS –L
  13.  To change the unix system password passwd command is

    used. PASSWD
  14.  To stop execution of any command Ctrl-C can be

    used CTRL C
  15.  To view the calendar cal command can be used. CAL
  16.  Who command can be used to view the list

    of connected users to Unix system WHO
  17.  Get user activity details using finger command FINGER

  18.  In next presentation I will add some more commands

    and then we will work on shell scripting and more from administration front.  Kindly let me know your reviews and comments so I can improve future presentations.  Write me at : Ankit Mehta THANK YOU