Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Linux Basics

Linux Basics

Hi,

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

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

Thanks,
Ankit
[email protected]

[email protected]

April 07, 2013
Tweet

Other Decks in Education

Transcript

  1. Ankit Mehta
    ankitmehta21
    @gmail.com
    LINUX – GETTING
    STARTED
    [email protected]

    View full-size slide

  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.
    [email protected]
    LINUX INSTALLATION

    View full-size slide

  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
    [email protected]
    LOGIN NAME

    View full-size slide

  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
    [email protected]
    PASSWORD

    View full-size slide

  5.  Following network is used for this training
    [email protected]
    CURRENT NETWORK
    Type OS IP Address
    Host Operating System Windows 7
    (Connecting with putty)
    192.168.188.1
    Guest Operating System Cent OS 6 (X64) 192.168.188.140

    View full-size slide

  6.  Open putty and enter destination IP address it will popup
    following screen as per your configuration
    [email protected]
    CONNECTING TO LINUX

    View full-size slide

  7.  Once you get previously mentioned screen enter desired
    username to login to Linux (Make sure that user already exist
    on Linux system)
    [email protected]
    ENTER USERNAME

    View full-size slide

  8.  After entering username enter password belongs to that user
    [email protected]
    ENTER PASSWORD

    View full-size slide

  9.  Once you login to Unix system you will see prompt $, $ is the
    indication that system is waiting for your command
    [email protected]
    UNIX PROMPT $

    View full-size slide

  10.  If you want to know the system date of UNIX system you can
    pass date command
    [email protected]
    DATE

    View full-size slide

  11.  To view any text file cat command is used followed by file
    name
    [email protected]
    CAT

    View full-size slide

  12.  To view the file and directory listing you can use ls -l
    command
    [email protected]
    LS –L

    View full-size slide

  13.  To change the unix system password passwd command is
    used.
    [email protected]
    PASSWD

    View full-size slide

  14.  To stop execution of any command Ctrl-C can be used
    [email protected]
    CTRL C

    View full-size slide

  15.  To view the calendar cal command can be used.
    [email protected]
    CAL

    View full-size slide

  16.  Who command can be used to view the list of connected users
    to Unix system
    [email protected]
    WHO

    View full-size slide

  17.  Get user activity details using finger command
    [email protected]
    FINGER

    View full-size slide

  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 [email protected]
    [email protected]
    THANK YOU

    View full-size slide