Linux Basic Knowledge
Linux Basic Knowledge
BK IT-INFORMATICS
-----------------------------------------------------------------------------------------------------------------------------------------------------
1. History of Unix
Linux is a sterling pedigree as a child of UNIX. In
the 1960, AT&T, Bell labs partnered with the MIT
(Massachusetts institute of Technology) and general
electronic in developing a multi user operating
system known as MULTICS. Two Bell labs researcher
Dennis Ritchie and Ken Thompson worked on this
project until Bell labs withdrew from this project.
Bell labs withdrew from the project they determine to
resolve this by re-hosting space travel to run a
little used PDP-7 computer. This new project requires
them to implement a new operating system for the PDP7 which they called UNICS. They somehow eventually
changed the name of the operating system to UNIX. One
of the unique features of UNIX was that Ritchie and
Thompson had implemented its using new programming
language "C". Implementing UNIX in C made it possible
to port UNIX to other computer more easily than
previous operating system. Which were usually written
in assembly language. UNIX was widely distributed
especially to universities, computer scientists and
student the world even studied UNIX, found ways to
improve it and sent their code back to Ritchie and
Thompson. UNIX rapidly grew and improved.
____________________________________________________________________________________________
Mob.No.9975142191
[email protected]
Email:-
Page | 2
BK IT-INFORMATICS
-----------------------------------------------------------------------------------------------------------------------------------------------------
2.History of Linux
Universities used UNIX for teaching computer science
student about the operating system. When AT&T
asserted its proprietary claim to UNIX. University
need to replacement. Andrew Tannenbaum (Computer
scientist,
Professor
Andy
Tanenbaum
of
Vrije
Universities,
Amsterdam)
created
a
UNIX-like
operating system called MINIX.
Email:-
Page | 3
BK IT-INFORMATICS
-----------------------------------------------------------------------------------------------------------------------------------------------------
Attributes
Linux
Unix
What is it?
Linux is an example
of
Open
Source
software development
and Free Operating
System (OS).
Unix is an operating
system that is very
popular
in
universities,
companies,
big
enterprises etc.
Manufacturer
Linux
kernel
is
developed
by
the
community.
Linus
Torvalds
oversees
things.
Three
bigest
distributions
are
Solaris
(Oracle),
AIX (IBM) & HP-UX
Hewlett Packard. And
Apple Makes OSX, an
Unix based OS..
Price
Processors
Dozens
kinds.
GUI
Linux
typically
provides two GUIs,
KDE and Gnome. But
Linux
GUI
is
optional.
Ext2,
Ext3,
Ext4, jfs,
gpfs,
hfs,
Jfs, ReiserFS, Xfs, hfs+, ufs, xfs, zfs
Btrfs, FAT, FAT32, format
NTFS
of
different x86/x64,
Sparc,
Power, Itanium, PARISC,
PowerPC
and
many others.
Initially Unix was a
command
based
OS,
but later a GUI was
created
called
Common
Desktop
Environment.
Most
distributions
now
ship with Gnome
Originally
the
Bourne
Shell.
Now
it's compatible with
many
others
____________________________________________________________________________________________
Mob.No.9975142191
[email protected]
Email:-
Page | 4
BK IT-INFORMATICS
-----------------------------------------------------------------------------------------------------------------------------------------------------
command
interpreters.
Security
A rough estimate of
UNIX
viruses
is
between
85
-120
viruses
reported
till date.
Examples
Ubuntu,,Red Hat,etc. OS X,
Linux
Solaris,
All
Attributes
Linux
Windows
What is it?
Linux is an example
of
Open
Source
software development
and Free Operating
System (OS).
Windows
is
the
family of operating
system
(OS)
from
Microsoft, which is
the most famous OS
in the world.
Cost
Price
Processors
Dozens
kinds.
of
GUI
Linux
typically
provides two GUIs,
KDE and Gnome. But
Linux
GUI
is
optional.
Ext2,
Ext3,
____________________________________________________________________________________________
Mob.No.9975142191
[email protected]
Email:-
Page | 5
BK IT-INFORMATICS
-----------------------------------------------------------------------------------------------------------------------------------------------------
Windows
uses
a
command
shell
and
each
version
of
Windows has a single
command
interpreter
with
dos-like
commands,
recently
there
is
the
addition
of
the
optional
PowerShell
that uses more Unixlike commands.
Security
Examples
5.GNU Project
In the 1980 AT&T began to recognize the commercial
value of UNIX. They asserted proprietary rights to it
and began charging a substantial license free. The
MIT researcher Richard Stallman launched the GNU
project which focused on creating a UNIX-like
operating system that could be freely distributed in
supports of GNU Stallman and other created the Free
Software Foundation in 1984. The FSF promotes free
software but free software is not necessarily cost
free software the FSF intends the word free in the
____________________________________________________________________________________________
Mob.No.9975142191
[email protected]
Email:-
Page | 6
BK IT-INFORMATICS
-----------------------------------------------------------------------------------------------------------------------------------------------------
Email:-
Page | 7
BK IT-INFORMATICS
-----------------------------------------------------------------------------------------------------------------------------------------------------
Email:-
Page | 8
BK IT-INFORMATICS
-----------------------------------------------------------------------------------------------------------------------------------------------------
REDHAT HISTORY
A Brief History of Red Hat Linux
Red Hat Enterprise Linux is the product of a U.S.
company called Red Hat, Inc., based in Raleigh, North
Carolina near the campus of NC State University. The
company was founded in the mid 1990s when Marc Ewing
and Bob Young merged two companies. In 1993 Bob Young
created a company called ACC Corporation that he says
he ran from his wifes sewing closet. The name ACC
was intended to represent a catalog business but was
also an abbreviation of a small business his wife ran
called Antiques and Collectables of Connecticut.
Amongst the items sold through the ACC catalog
business were Linux CDs and related open source
software. Around the same time Marc Ewing had created
his own Linux distribution which he named Red Hat
Linux (after his
____________________________________________________________________________________________
Mob.No.9975142191
[email protected]
Email:-
Page | 9
BK IT-INFORMATICS
-----------------------------------------------------------------------------------------------------------------------------------------------------
RHEL-5
RHEL
4
SELinux RHEL 5
Block
only
13 SElinux
services
services
RHEL-6
Block
____________________________________________________________________________________________
Mob.No.9975142191
[email protected]
Email:-
Page | 10
BK IT-INFORMATICS
-----------------------------------------------------------------------------------------------------------------------------------------------------
Enhanced
Linux)features
are
improved and a new
set
of
SELinux
rules
has
been
added
to
provide
security to virtual
machines
from
hackers
and
attackers. This new
feature
is
called SVirt.
Ext2 is made the Ext3 is made the Ext4 is made the
default filesystem default filesystem default filesystem
no
virtualization virtualization with RHEL6
introduces
Feature
Hypervisor-V
the
use
of KVM
(Kernel-based
Virtual
Machine) as
its
hypervisor. In the
earlier
releases kenhypervi
sor was used.
In RHEL
no Yum
Date
of
2005-02-14
we
Release- Date
of
Release- Date
of
Release2007-03-15
2010-11-10
Date Of Release
Enterprise 2005-02-14
(Prior
outside of
Life Cycle)
End
dates
of
2009-03-31 (End of
Production 1)
2011-03-31 (End of
Production 2)
2012-02-29 (End of
Production 3 / End
of
Regular
Life
Cycle)
2015-02-28 (End of
version
Regular
____________________________________________________________________________________________
Mob.No.9975142191
[email protected]
support
Email:-
Page | 11
BK IT-INFORMATICS
-----------------------------------------------------------------------------------------------------------------------------------------------------
Extended
Cycle)
Red Hat
Linux 5
Enterprise 2007-03-15
2013-01-08 (End of
Production 1)
Q1
2014
(End
of
Production 2)
2017-03-31 (End of
Production 3 / End
of
Regular
Life
Cycle)
Q1
2020
(End
of
Extended
Life
Cycle)
Red Hat
Linux 6
Enterprise 2010-11-10
Q2
2016
(End
of
Production 1)
Q2
2017
(End
of
Production 2)
2020-11-30 (End of
Production 3 / End
of
Regular
Life
Cycle)
Q4
2023
(End
of
Extended
Life
Cycle)
( Current version )
Red Hat
Linux 7
( Future version)
*****************************************************
**
Life
Email:-
Page | 12
BK IT-INFORMATICS
-----------------------------------------------------------------------------------------------------------------------------------------------------
based
system)
(x86_64).
and
Opteron
64-bit
systems
____________________________________________________________________________________________
Mob.No.9975142191
[email protected]
Email:-
Page | 13
BK IT-INFORMATICS
-----------------------------------------------------------------------------------------------------------------------------------------------------
6
graphical
starts,
select
____________________________________________________________________________________________
Mob.No.9975142191
[email protected]
Email:-
Page | 14
BK IT-INFORMATICS
-----------------------------------------------------------------------------------------------------------------------------------------------------
7. Accept
Installation
____________________________________________________________________________________________
Mob.No.9975142191
[email protected]
Email:-
Page | 15
BK IT-INFORMATICS
-----------------------------------------------------------------------------------------------------------------------------------------------------
11. Enter
for root user
____________________________________________________________________________________________
Mob.No.9975142191
[email protected]
Email:-
Page | 16
BK IT-INFORMATICS
-----------------------------------------------------------------------------------------------------------------------------------------------------
14. Accept
disc
write
changes
____________________________________________________________________________________________
Mob.No.9975142191
[email protected]
Email:-
to
Page | 17
BK IT-INFORMATICS
-----------------------------------------------------------------------------------------------------------------------------------------------------
15.
boot
loader
package
____________________________________________________________________________________________
Mob.No.9975142191
[email protected]
Email:-
Page | 18
BK IT-INFORMATICS
-----------------------------------------------------------------------------------------------------------------------------------------------------
19.
Checking dependencies
installation
for 20.
Starting
process
installation
____________________________________________________________________________________________
Mob.No.9975142191
[email protected]
Email:-
Page | 19
BK IT-INFORMATICS
-----------------------------------------------------------------------------------------------------------------------------------------------------
____________________________________________________________________________________________
Mob.No.9975142191
[email protected]
Email:-
Page | 20
BK IT-INFORMATICS
-----------------------------------------------------------------------------------------------------------------------------------------------------
REDHAT BASIC
1. Linux Basic
Login Screen1. two types of login screens:
virtual console
graphical login (called display manager)
____________________________________________________________________________________________
Mob.No.9975142191
[email protected]
Email:-
Page | 21
BK IT-INFORMATICS
-----------------------------------------------------------------------------------------------------------------------------------------------------
Email:-
Page | 22
BK IT-INFORMATICS
-----------------------------------------------------------------------------------------------------------------------------------------------------
2. Virtual Console
A virtual console (VC) also known as a virtual
terminal (VT) is a conceptual combination of the
keyboard and display for a computer user interface.
It is a feature of some operating systems such as
BSD, Linux, and UnixWare in which the system console
of the computer can be used to switch between
multiple virtual consoles to access unrelated user
interfaces. Virtual consoles date back at least to
Xenix in the 1980s.
users
potential
to
do
damage
is
more
____________________________________________________________________________________________
Mob.No.9975142191
[email protected]
Email:-
Page | 23
BK IT-INFORMATICS
-----------------------------------------------------------------------------------------------------------------------------------------------------
[root@localhost ~]#
Normal User
A "root" user has the power to A normal user can only gain
do anything on a Linux system. root access with sudo if they
are in the sudoers file
Control all over system
[root@localhost ~]#
[uesr@localhost ~]$
____________________________________________________________________________________________
Mob.No.9975142191
[email protected]
Email:-