Linux – getting started

Preview:

DESCRIPTION

Hi, This presentation contains basic unix commands and its usages. i have put screenshots where ever it is applicable. Kindly send me your comments to Ankit Mehta ankitmehta21@gmail.com Thanks, Ankit ankitmehta21@gmail.com

Citation preview

Ankit Mehta

ankitmehta21

@gmail.com

LINUX – GETTING

STARTED

ankitmehta21@gmail.com

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.

ankitmehta21@gmail.com

LINUX INSTALLATION

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

ankitmehta21@gmail.com

LOGIN NAME

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

ankitmehta21@gmail.com

PASSWORD

Following network is used for this training

ankitmehta21@gmail.com

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

Open putty and enter destination IP address it will popup

following screen as per your configuration

ankitmehta21@gmail.com

CONNECTING TO LINUX

Once you get previously mentioned screen enter desired

username to login to Linux (Make sure that user already exist

on Linux system)

ankitmehta21@gmail.com

ENTER USERNAME

After entering username enter password belongs to that user

ankitmehta21@gmail.com

ENTER PASSWORD

Once you login to Unix system you will see prompt $, $ is the

indication that system is waiting for your command

ankitmehta21@gmail.com

UNIX PROMPT $

If you want to know the system date of UNIX system you can

pass date command

ankitmehta21@gmail.com

DATE

To view any text file cat command is used followed by file

name

ankitmehta21@gmail.com

CAT

To view the file and directory listing you can use ls -l

command

ankitmehta21@gmail.com

LS –L

To change the unix system password passwd command is

used.

ankitmehta21@gmail.com

PASSWD

To stop execution of any command Ctrl -C can be used

ankitmehta21@gmail.com

CTRL C

To view the calendar cal command can be used.

ankitmehta21@gmail.com

CAL

Who command can be used to view the list of connected users

to Unix system

ankitmehta21@gmail.com

WHO

Get user activity details using finger command

ankitmehta21@gmail.com

FINGER

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 ankitmehta21@mail.com

ankitmehta21@gmail.com

THANK YOU

Recommended