SlideShare une entreprise Scribd logo
1  sur  41
Introduction to
     Linux
           By: Ravi Prakash Giri
               CSE 2nd Year
 Shri Mata Vaishno Devi University,Jammu
What we will cover ?
   Introduction
   What is Linux?
   Linux Distribution
   Linux vs. Windows
   Process of Installing
    Linux
    Basic Commands
   Working example
   Summary
What is Linux ?
   UNIX-like operating system

   Comprised
      System utilities
      Libraries
      From GNU Project
      Sometimes called GNU Linux


   Supported by: IBM, Sun, Novell, Microsoft,…
LINUX History
   The UNIX operating system was born in the late 1960s. It
    originally began as a one man project led by Ken Thompson of
    Bell Labs, and has since grown to become the most widely used
    operating system.
   In the time since UNIX was first developed, it has gone through
    many different generations and even mutations.
       Some differ substantially from the original version, like Berkeley Software
        Distribution (BSD) or Linux.
       Others, still contain major portions that are based on the original source
        code.
   An interesting and rather up-to-date timeline of these variations
    of UNIX can be found at
    http://www.levenez.com/unix/history.html.
Before Linux
 In 80’s, Microsoft’s DOS was the dominated OS
  for PC
 Apple MAC was better, but expensive
 UNIX was much better, but much, much more
  expensive. Only for minicomputer for commercial
  applications
 People was looking for a UNIX based system,
  which is cheaper and can run on PC
 Both DOS, MAC and UNIX were proprietary, i.e.,
  the source code of their kernel is protected
 No modification is possible without paying high
  license fees
Beginning of Linux
 A famous professor Andrew Tanenbaum
  developed Minix, a simplified version of UNIX
  that runs on PC
 Minix is for class teaching only. No intention
  for commercial use
 In Sept 1991, Linus Torvalds, a second year
  student of Computer Science at the University
  of Helsinki, developed the preliminary kernel of
  Linux, known as Linux version 0.0.1
Linux distribution
Red Hat Linux : One of the original Linux distribution.
The commercial, nonfree version is Red Hat Enterprise Linux, which is aimed at big
   companies using Linux servers and desktops in a big way.
Free version: Fedora Project.

Debian GNU/Linux : A free software distribution. Popular for use on servers.
  However, Debian is not what many would consider a distribution for beginners,
  as it's not designed with ease of use in mind.

SuSE Linux : SuSE was recently purchased by Novell. This distribution is primarily
   available for pay because it contains many commercial programs, although there's
   a stripped-down free version that you can download.

Mandrake Linux : Mandrake is perhaps strongest on the desktop. Originally based
  off of Red Hat Linux.

Gentoo Linux : Gentoo is a specialty distribution meant for programmers.
Linux vs. Windows

          Linux                          Windows
   Linux has different           Windows has different
versions, depending on which   versions. It started with Win3.x,
vendor develops and runs it.   Win9x, WinME, WinNT,
Linux vendors include:         Win2000, WinXP. It is a
Linspire, Red Hat, SuSE,       proprietary software produced
Ubuntu, Mandriva, Knoppix,     by Microsoft.
Slackware, Caldera, Debian
Linux vs. Windows
           Linux                       Windows
              Cost                           Cost
 Linux is cheap or free to    Windows is expensive to run.

run. It can be downloaded     The price to purchase a full
from various Linux vendors.   version of Windows XP
                              Professional is about USD400.
Linux may run off a server   Only one copy of Windows
so numerous computers may     may be used on a computer.
have access to the program.   Activation with Microsoft is
                              needed.
Linux vs. Windows

           Linux                           Windows
               Cost                             Cost
 Linux is an open source          Windows is a proprietary

software. Source codes are        closed source software. Codes
freely distributed to the public, are not released to the public.
of which programmers had
reviewed to improve
performance, eliminate bugs
and strengthen security.
Linux vs. Windows

           Linux                          Windows
         OS Stability                       OS Stability
 When properly                   It is known to crash easily,

configured, Linux will run       and be infected by bugs and
until the hardware fails or if   viruses.
the system is shut down.
 Linux claims that it may
continuously run up to more
than a year without freezing
or shutting down.
It is not as prone to bugs
and viruses as most are
Methods of Installation
  Traditional booting from DVD/CD
 Using third party software

 i.e. making bootable USB
 drive
For making your USB
  bootable,refer to the article at

http://www.resolutiondesproblem
        es.blogspot.com
Partition Fields
Device: This field displays the partition's device name.
Start: This field shows the sector on your hard drive where
the partition begins.

End: This field shows the sector on your hard drive where
the partition ends.

Size: This field shows the partition's size (in MB).
 Type: This field shows the partition's type (for example,
ext2, ext3, or vfat).

 Mount Point: A mount point is the location within the
directory hierarchy at which a volume exists; the volume is
"mounted" at this location. This field indicates where the
partition will be mounted.
Linux Installation


                   Filesystem Types

     ext2 — An ext2 filesystem supports standard Unix file types
     (regular files, directories, symbolic links, etc). It provides the
     ability to assign long file names, up to 255 characters. Versions
     prior to Red Hat Linux 7.2 used ext2 filesystems by default.
     ext3 — The ext3 filesystem is based on the ext2 filesystem and
     has one main advantage — journaling. Using a journaling
     filesystem reduces time spent recovering a filesystem after a
     crash as there is no need to fsck the filesystem.
     swap — Swap partitions are used to support virtual memory.
     In other words, data is written to a swap partition when there is
     not enough RAM to store the data your system is processing.
     vfat — The VFAT filesystem is a Linux filesystem that is
     compatible with Windows 95/NT long filenames on the FAT
     filesystem.
Linux Installation

 Recommended Partitioning Scheme
         Unless you have a reason for doing otherwise, it is
     recommended that you create the following partitions:
     /boot partition – contains kernel images            and grub
     configuration and commands
     / partition
     /home partition 
     Any other partition based on application (e.g /usr/local for
     squid)
     swap partition — swap partitions are used to support virtual
     memory. In other words, data is written to a swap partition
     when there is not enough RAM to store the data your system is
     processing. The size of your swap partition should be equal to
     twice your computer's RAM.
MANDRIVA INSTALLATION
Universal USB Installer
   This tool is widely used to make USB bootable
    for various operating systems or applications.
   Once you made your USB bootable,you are
    ready to use it for installing Linux.
Basic Linux
Commands
Some of the basic commands you should learn are
Commands:
                                          the ones that help you navigate the file system.
/ (root directory)
/root – home directory of the user root
pwd – you can see your home directory
df – to see disk space available
cd – to change to different directory or to go back to home dir
.. - move to parent directory
ls – list the contents of a directory; Options: -l (more info)
                                   -a (displays hidden files)
                                   -t (sort by time)
                                   -r (oldest first)
Example: ls –ltr : display an long list of files that are sorted by time, display the oldest
   ones first
cp : copy one file to another
  rm : remove a file
  man : ask for the manual (or help) of a command
      e.g. man cd ask for the manual of the command cd
  cat : to show the content of a text file
      e.g. cat abc.txt show the content of abc.txt
  whoami : to show the username of the current user

Directory is denoted by a / (slash) character
Executable program by a *
Hidden file preceded by a . (dot)
Working Example
Phishing Social Networking
           Sites
Phishing Using Linux
BACKTRACK 5 R 2
End of Presentation
      Thankyou!

Contenu connexe

Tendances (20)

Linux introduction, class 1
Linux introduction, class 1Linux introduction, class 1
Linux introduction, class 1
 
Linux
LinuxLinux
Linux
 
Linux architecture
Linux architectureLinux architecture
Linux architecture
 
An Introduction To Linux
An Introduction To LinuxAn Introduction To Linux
An Introduction To Linux
 
Présentation ubuntu 12.10 PDF
Présentation ubuntu  12.10 PDFPrésentation ubuntu  12.10 PDF
Présentation ubuntu 12.10 PDF
 
Linux command ppt
Linux command pptLinux command ppt
Linux command ppt
 
Linux basics
Linux basicsLinux basics
Linux basics
 
Linux seminar
Linux seminarLinux seminar
Linux seminar
 
Linux
LinuxLinux
Linux
 
Linux kernel
Linux kernelLinux kernel
Linux kernel
 
Diapositiva linux
Diapositiva linuxDiapositiva linux
Diapositiva linux
 
Linux - Introductions to Linux Operating System
Linux - Introductions to Linux Operating SystemLinux - Introductions to Linux Operating System
Linux - Introductions to Linux Operating System
 
Linux
LinuxLinux
Linux
 
Operating systems linux
Operating systems linuxOperating systems linux
Operating systems linux
 
Linux OS presentation
Linux OS presentationLinux OS presentation
Linux OS presentation
 
Introduction to linux ppt
Introduction to linux pptIntroduction to linux ppt
Introduction to linux ppt
 
Linux ppt
Linux pptLinux ppt
Linux ppt
 
Linux
LinuxLinux
Linux
 
Linux presentation
Linux presentationLinux presentation
Linux presentation
 
Linux Internals - Kernel/Core
Linux Internals - Kernel/CoreLinux Internals - Kernel/Core
Linux Internals - Kernel/Core
 

En vedette (7)

A History of Linux
A History of LinuxA History of Linux
A History of Linux
 
windows vs Linux
windows vs Linuxwindows vs Linux
windows vs Linux
 
History Of Linux
History Of LinuxHistory Of Linux
History Of Linux
 
History of computers
History of computersHistory of computers
History of computers
 
Evolution of Microsoft windows operating systems
Evolution of Microsoft windows operating systemsEvolution of Microsoft windows operating systems
Evolution of Microsoft windows operating systems
 
The Six Highest Performing B2B Blog Post Formats
The Six Highest Performing B2B Blog Post FormatsThe Six Highest Performing B2B Blog Post Formats
The Six Highest Performing B2B Blog Post Formats
 
The Outcome Economy
The Outcome EconomyThe Outcome Economy
The Outcome Economy
 

Similaire à Intro to linux

Programming and problem solving 3
Programming and problem solving 3Programming and problem solving 3
Programming and problem solving 3sushruth kamarushi
 
Overview_Linux ppt
Overview_Linux pptOverview_Linux ppt
Overview_Linux pptMU
 
Chapter 8 - nsa Introduction to Linux.ppt
Chapter 8 -  nsa Introduction to Linux.pptChapter 8 -  nsa Introduction to Linux.ppt
Chapter 8 - nsa Introduction to Linux.pptgadisaAdamu
 
Linux Information
Linux InformationLinux Information
Linux InformationRahul Pola
 
Introduction to linux
Introduction to linuxIntroduction to linux
Introduction to linuxPrasanth V
 
Presentation1 linux os
Presentation1 linux osPresentation1 linux os
Presentation1 linux osjoycoronado
 
Presentation1 linux os
Presentation1 linux osPresentation1 linux os
Presentation1 linux osruzzelarpon
 
Linux operating system ppt
Linux operating system pptLinux operating system ppt
Linux operating system pptAchyut Sinha
 
Linux operating system - Overview
Linux operating system - OverviewLinux operating system - Overview
Linux operating system - OverviewAshita Agrawal
 
Linux nic training_intro_14_dec_09
Linux nic training_intro_14_dec_09Linux nic training_intro_14_dec_09
Linux nic training_intro_14_dec_09Aravindan Arun
 
OS Lab: Introduction to Linux
OS Lab: Introduction to LinuxOS Lab: Introduction to Linux
OS Lab: Introduction to LinuxMotaz Saad
 
A general Overview of linux !!
A general Overview of linux !!A general Overview of linux !!
A general Overview of linux !!jainema23
 

Similaire à Intro to linux (20)

Programming and problem solving 3
Programming and problem solving 3Programming and problem solving 3
Programming and problem solving 3
 
Linux
Linux Linux
Linux
 
Linux introduction (eng)
Linux introduction (eng)Linux introduction (eng)
Linux introduction (eng)
 
Linux
LinuxLinux
Linux
 
Overview_Linux ppt
Overview_Linux pptOverview_Linux ppt
Overview_Linux ppt
 
Linux technology
Linux technologyLinux technology
Linux technology
 
Chapter 8 - nsa Introduction to Linux.ppt
Chapter 8 -  nsa Introduction to Linux.pptChapter 8 -  nsa Introduction to Linux.ppt
Chapter 8 - nsa Introduction to Linux.ppt
 
Linux Information
Linux InformationLinux Information
Linux Information
 
Introduction to linux
Introduction to linuxIntroduction to linux
Introduction to linux
 
Presentation1 linux os
Presentation1 linux osPresentation1 linux os
Presentation1 linux os
 
Presentation1 linux os(2)
Presentation1 linux os(2)Presentation1 linux os(2)
Presentation1 linux os(2)
 
Presentation1 linux os
Presentation1 linux osPresentation1 linux os
Presentation1 linux os
 
Presentation1 linux os
Presentation1 linux osPresentation1 linux os
Presentation1 linux os
 
Linux forensics
Linux forensicsLinux forensics
Linux forensics
 
Linux operating system ppt
Linux operating system pptLinux operating system ppt
Linux operating system ppt
 
Unix Administration 1
Unix Administration 1Unix Administration 1
Unix Administration 1
 
Linux operating system - Overview
Linux operating system - OverviewLinux operating system - Overview
Linux operating system - Overview
 
Linux nic training_intro_14_dec_09
Linux nic training_intro_14_dec_09Linux nic training_intro_14_dec_09
Linux nic training_intro_14_dec_09
 
OS Lab: Introduction to Linux
OS Lab: Introduction to LinuxOS Lab: Introduction to Linux
OS Lab: Introduction to Linux
 
A general Overview of linux !!
A general Overview of linux !!A general Overview of linux !!
A general Overview of linux !!
 

Dernier

POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 

Dernier (20)

POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 

Intro to linux

  • 1. Introduction to Linux By: Ravi Prakash Giri CSE 2nd Year Shri Mata Vaishno Devi University,Jammu
  • 2. What we will cover ?  Introduction  What is Linux?  Linux Distribution  Linux vs. Windows  Process of Installing Linux  Basic Commands  Working example  Summary
  • 3. What is Linux ?  UNIX-like operating system  Comprised  System utilities  Libraries  From GNU Project  Sometimes called GNU Linux  Supported by: IBM, Sun, Novell, Microsoft,…
  • 4. LINUX History  The UNIX operating system was born in the late 1960s. It originally began as a one man project led by Ken Thompson of Bell Labs, and has since grown to become the most widely used operating system.  In the time since UNIX was first developed, it has gone through many different generations and even mutations.  Some differ substantially from the original version, like Berkeley Software Distribution (BSD) or Linux.  Others, still contain major portions that are based on the original source code.  An interesting and rather up-to-date timeline of these variations of UNIX can be found at http://www.levenez.com/unix/history.html.
  • 5. Before Linux  In 80’s, Microsoft’s DOS was the dominated OS for PC  Apple MAC was better, but expensive  UNIX was much better, but much, much more expensive. Only for minicomputer for commercial applications  People was looking for a UNIX based system, which is cheaper and can run on PC  Both DOS, MAC and UNIX were proprietary, i.e., the source code of their kernel is protected  No modification is possible without paying high license fees
  • 6. Beginning of Linux  A famous professor Andrew Tanenbaum developed Minix, a simplified version of UNIX that runs on PC  Minix is for class teaching only. No intention for commercial use  In Sept 1991, Linus Torvalds, a second year student of Computer Science at the University of Helsinki, developed the preliminary kernel of Linux, known as Linux version 0.0.1
  • 7. Linux distribution Red Hat Linux : One of the original Linux distribution. The commercial, nonfree version is Red Hat Enterprise Linux, which is aimed at big companies using Linux servers and desktops in a big way. Free version: Fedora Project. Debian GNU/Linux : A free software distribution. Popular for use on servers. However, Debian is not what many would consider a distribution for beginners, as it's not designed with ease of use in mind. SuSE Linux : SuSE was recently purchased by Novell. This distribution is primarily available for pay because it contains many commercial programs, although there's a stripped-down free version that you can download. Mandrake Linux : Mandrake is perhaps strongest on the desktop. Originally based off of Red Hat Linux. Gentoo Linux : Gentoo is a specialty distribution meant for programmers.
  • 8. Linux vs. Windows Linux Windows  Linux has different  Windows has different versions, depending on which versions. It started with Win3.x, vendor develops and runs it. Win9x, WinME, WinNT, Linux vendors include: Win2000, WinXP. It is a Linspire, Red Hat, SuSE, proprietary software produced Ubuntu, Mandriva, Knoppix, by Microsoft. Slackware, Caldera, Debian
  • 9. Linux vs. Windows Linux Windows Cost Cost  Linux is cheap or free to  Windows is expensive to run. run. It can be downloaded The price to purchase a full from various Linux vendors. version of Windows XP Professional is about USD400. Linux may run off a server Only one copy of Windows so numerous computers may may be used on a computer. have access to the program. Activation with Microsoft is needed.
  • 10. Linux vs. Windows Linux Windows Cost Cost  Linux is an open source  Windows is a proprietary software. Source codes are closed source software. Codes freely distributed to the public, are not released to the public. of which programmers had reviewed to improve performance, eliminate bugs and strengthen security.
  • 11. Linux vs. Windows Linux Windows OS Stability OS Stability  When properly  It is known to crash easily, configured, Linux will run and be infected by bugs and until the hardware fails or if viruses. the system is shut down.  Linux claims that it may continuously run up to more than a year without freezing or shutting down. It is not as prone to bugs and viruses as most are
  • 12. Methods of Installation  Traditional booting from DVD/CD  Using third party software i.e. making bootable USB drive
  • 13. For making your USB bootable,refer to the article at http://www.resolutiondesproblem es.blogspot.com
  • 14. Partition Fields Device: This field displays the partition's device name. Start: This field shows the sector on your hard drive where the partition begins. End: This field shows the sector on your hard drive where the partition ends. Size: This field shows the partition's size (in MB). Type: This field shows the partition's type (for example, ext2, ext3, or vfat). Mount Point: A mount point is the location within the directory hierarchy at which a volume exists; the volume is "mounted" at this location. This field indicates where the partition will be mounted.
  • 15. Linux Installation Filesystem Types ext2 — An ext2 filesystem supports standard Unix file types (regular files, directories, symbolic links, etc). It provides the ability to assign long file names, up to 255 characters. Versions prior to Red Hat Linux 7.2 used ext2 filesystems by default. ext3 — The ext3 filesystem is based on the ext2 filesystem and has one main advantage — journaling. Using a journaling filesystem reduces time spent recovering a filesystem after a crash as there is no need to fsck the filesystem. swap — Swap partitions are used to support virtual memory. In other words, data is written to a swap partition when there is not enough RAM to store the data your system is processing. vfat — The VFAT filesystem is a Linux filesystem that is compatible with Windows 95/NT long filenames on the FAT filesystem.
  • 16. Linux Installation Recommended Partitioning Scheme Unless you have a reason for doing otherwise, it is recommended that you create the following partitions: /boot partition – contains kernel images and grub configuration and commands / partition /home partition  Any other partition based on application (e.g /usr/local for squid) swap partition — swap partitions are used to support virtual memory. In other words, data is written to a swap partition when there is not enough RAM to store the data your system is processing. The size of your swap partition should be equal to twice your computer's RAM.
  • 18. Universal USB Installer  This tool is widely used to make USB bootable for various operating systems or applications.  Once you made your USB bootable,you are ready to use it for installing Linux.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 37. Some of the basic commands you should learn are Commands: the ones that help you navigate the file system. / (root directory) /root – home directory of the user root pwd – you can see your home directory df – to see disk space available cd – to change to different directory or to go back to home dir .. - move to parent directory ls – list the contents of a directory; Options: -l (more info) -a (displays hidden files) -t (sort by time) -r (oldest first) Example: ls –ltr : display an long list of files that are sorted by time, display the oldest ones first
  • 38. cp : copy one file to another rm : remove a file man : ask for the manual (or help) of a command e.g. man cd ask for the manual of the command cd cat : to show the content of a text file e.g. cat abc.txt show the content of abc.txt whoami : to show the username of the current user Directory is denoted by a / (slash) character Executable program by a * Hidden file preceded by a . (dot)
  • 41. End of Presentation Thankyou!