SlideShare une entreprise Scribd logo
1  sur  6
Learning Linux Course
Introduction
Linux is a Unix like Computer operating system assembled under the model of free and open
source system software
 Linux 1ST
released on October 1991 by Linus Torvalds .
 Main supporting user space and libraries are originated by Richard Stallman 1983.
 More than 90% today supercomputers run some variant of Linux.
 Linux also runs in embedded systems.
 Typically Linux is packaged in a format known as Linux distribution for Desktop and
servers use.
 Some main popular designs in Linux are Ubuntu, Redhat, Solaris, debian, fedora.
 Over 1,000 developers, from at least 100 different companies, contribute to every kernel
release.
 In the past two years alone, over 3,200 developers from 200 companies have contributed
to the kernel--which is just one small piece of a Linux distribution.
 One of the most valued advantages of Linux over the other platforms lies with the high
security levels it ensures.
 Every Linux user is happy to work in a virus-free environment and use the regular virus-
prevention time needed when working with other operating systems for other more
important tasks.
 Linux is being constantly developed and updated by the constantly expanding community
of programmers supporting it.
Advantages of Linux
 Low cost: There is no need to spend time and huge amount money to obtain licenses
since Linux and much of it's software come with the GNU General Public License. There
is no need to worry about any software's that you use in Linux.
 Stability: Linux has high stability compared with other operating systems. There is no
need to reboot the Linux system to maintain performance levels. Rarely it freeze up or
slow down. It has a continuous up-times of hundreds of days or more.
 Performance: Linux provides high performance on various networks. It has the ability to
handle large numbers of users simultaneously.
 Networking: Linux provides a strong support for network functionality; client and server
systems can be easily set up on any computer running Linux. It can perform tasks like
network backup more faster than other operating systems.
 Flexibility: Linux is very flexible. Linux can be used for high performance server
applications, desktop applications, and embedded systems. You can install only the
needed components for a particular use. You can also restrict the use of specific
computers.
 Compatibility: It runs all common Unix software packages and can process all common
file formats.
 Wider Choice: There is a large number of Linux distributions which gives you a wider
choice. Each organization develop and support different distribution. You can pick the
one you like best; the core function's are the same.
 Better use of hard disk: Linux uses its resources well enough even when the hard disk is
almost full.
 Multitasking: Linux is a multitasking operating system. It can handle many things at the
same time.
 Security: Linux is one of the most secure operating systems. File ownership and
permissions make linux more secure.
 Open source: Linux is an Open source operating systems. You can easily get the source
code for linux and edit it to develop your personal operating system.
Differences between Linux and Windows
 Linux is an open-source Operating System. People can change codes and add programs to
Linux OS which will help use your computer better.
 Linux evolved as a reaction to the monopoly position of windows. you can't change any
code for windows OS.
 You can't even see which processes do what and build your onw extension. Linux wants
the programmers to extend and redesign it's OS. Linux user's can edit its OS and design
new OS.
 All flavors of Windows come from Microsoft. Linux come from different companies like
LIndows , Lycoris, Red Hat, SuSe, Mandrake, Knapping, Slack ware.
 Linux is customizable but Windows is not. For example,NASlite is a version of Linux
that runs off a single floppy disk and converts an old computer into a file server.
 This ultra small edition of Linux is capable of networking, file sharing and being a web
server.
 Linux is freely available for desktop or home use but Windows is expensive. For server
use, Linux is cheap compared to Windows.
Microsoft allows a single copy of Windows to be used on one computer. You can run Linux on
any number of computers.
Linux has hign security. You have to log on to Linux with a userid and password. You can login
as root or as normal user. The root has full previlage.
Linux has a reputation for fewer bugs than Windows.
Windows must boot from a primary partition. Linux can boot from either a primary partition or a
logical partition inside an extended partition. Windows must boot from the first hard disk. Linux
can boot from any hard disk in the computer.
Windows uses a hidden file for its swap file. Typically this file resides in the same partition as
the OS (advanced users can opt to put the file in another partition). Linux uses a dedicated
partition for its swap file.
Windows separates directories with a back slash while Linux uses a normal forward slash.
Windows file names are not case sensitive. Linux file names are. For example "abc" and "aBC"
are different files in Linux, whereas in Windows it would refer to the same file.
Windows and Linux have different concepts for their file hierarchy. Windows uses a volume-
based file hierarchy while Linux uses a unified scheme. Windows uses letters of the alphabet to
represent different devices and different hard disk partitions. eg: c: , d: , e: etc.. while in linux " /
" is the main directory.
Linux and windows support the concept of hidden files. In linux hidden files begin with " . ",
eg: .filename
Linux Directory Structure
 " / " is the root Directory in Linux. " /root " will be the home directory for the root user
(administrator).
 Root will have the full administrative power over the system and other users. There are
other directories like / home, /bin, /sbin, /lib etc.
 Each user will have there own home directory.
List Of All Directories in Linux
/ ---------> Root or the main directory
|---root ---------> Home directory for the root user
|---home ---------> User's home directories
| |----ftp ---------> Users services are listed here
| |----httpd
| |----samba
| |----user1
| |----user2
|---bin ---------> Commands needed during bootup and also needed by normal users
|---sbin ---------> Like bin but commands are not intended for normal users.
|---proc ---------> This filesystem is not on a disk. virtual directory.
| |
| |----n ---------> A directory with info about process number n.
|
|---usr ---------> Contains all commands, libraries, man pages etc for normal operation.
| |
| |----bin ---------> Almost all user commands.
| |----sbin ---------> System admin commands not needed in the root filesystem.
| |
| |----include ---------> Header files for the C programming language.
| |
| |----lib ---------> Unchanging data files for programs and subsystems
| |----local ---------> Locally installed software and other files.
| |----man --------> Help pages
| |----info ---------> Info documents
| |----doc ---------> Documentation for various packages
| |----tmp
| |----X11R6 ---------> The X windows system files.
| |
| |----X386 ---------> Like X11R6 but for X11 release 5
|---boot ---------> Files used by the bootstrap loader, LILO. Kernel images stored.
|---lib ---------> Shared libraries needed by the programs on the root filesystem
| |----modules ---------> Loadable kernel modules.
|
|---dev ---------> Device files for devices such as disk drives, serial ports, etc.
|---etc ---------> Configuration files specific to the machine.
| |----skel ---------> For home directory creation.
| |----sysconfig ---------> Files that configure the linux system for networking etc.
|---var ---------> Contains files that change for mail, news, temp files, etc
| |----file
| |----lib ---------> Files that change while the system is running normally
| |----local ---------> Variable data for programs installed in /usr/local.
| |----lock ---------> Lock files. Used by a program.
| |----log ---------> Log files from programs such as login and syslog etc.
| |
| |----run ---------> Files that contain information about the system.
| |
| |----spool ---------> Directories for mail, printer spools, news and other spooled work.
| |----tmp ---------> Temporary files that are needed to exist for longer time.
| |
|---mnt ---------> Mount points for temporary mounts by the system administrator.
|---tmp ---------> Temporary files. Programs running after bootup should use /var/tmp.
Permission set in Linux For files and Directories
There is permission set for the Owner, Group and Others. When you type " ll " you will get 10
set of values for each files eg: -rw-rw-r-- 1 name name 41333 Aug 18 22:57 jpg . The 1st bit
denotes if its a directory or file. 2nd, 3rd and 4th bit is the owner's permission. 5th, 6th and 7th
bit is group's permission and 8th, 9th and 10th bit is for other's permission. According to the
example owner and group has read/write permission and other's have only read permission.
You can change the permission of a file. Try chmod 777 filename. This will give owner, group
and other's full permission (read/write/execute) over the file.
Permission Sets
1 - Execute
2 - Write
3 - Write and Execute
4 - Read
5 - Read and Execute
6 - Read and Write
7 - Read, Write and Execute
Try chmod 700 filename. This will give the owner of the file full permission. The Group and
other's will have no permission to access the file. Only the owner of the file can read, write or
execute the file. If you want other and Group only to read the file you can give chmod 744
filename.
Permission set in Linux For files and Directories
There is permission set for the Owner, Group and Others. When you type " ll " you will get 10
set of values for each files eg: -rw-rw-r-- 1 name name 41333 Aug 18 22:57 jpg . The 1st bit
denotes if its a directory or file. 2nd, 3rd and 4th bit is the owner's permission. 5th, 6th and 7th
bit is group's permission and 8th, 9th and 10th bit is for other's permission. According to the
example owner and group has read/write permission and other's have only read permission.
You can change the permission of a file. Try chmod 777 filename. This will give owner, group
and other's full permission (read/write/execute) over the file.
Permission Sets
1 - Execute
2 - Write
3 - Write and Execute
4 - Read
5 - Read and Execute
6 - Read and Write
7 - Read, Write and Execute
Try chmod 700 filename. This will give the owner of the file full permission. The Group and
other's will have no permission to access the file. Only the owner of the file can read, write or
execute the file. If you want other and Group only to read the file you can give chmod 744
filename.

Contenu connexe

Tendances

The linux file system structure
The linux file system structureThe linux file system structure
The linux file system structureTeja Bheemanapally
 
Linux Directory Structure
Linux Directory StructureLinux Directory Structure
Linux Directory StructureKevin OBrien
 
Linux practicals T.Y.B.ScIT
Linux practicals T.Y.B.ScITLinux practicals T.Y.B.ScIT
Linux practicals T.Y.B.ScITvignesh0009
 
Red hat linux essentials
Red hat linux essentialsRed hat linux essentials
Red hat linux essentialsHaitham Raik
 
Lesson 2 Understanding Linux File System
Lesson 2 Understanding Linux File SystemLesson 2 Understanding Linux File System
Lesson 2 Understanding Linux File SystemSadia Bashir
 
Linux.ppt
Linux.ppt Linux.ppt
Linux.ppt onu9
 
Unix files
Unix filesUnix files
Unix filesSunil Rm
 
Linux directory structure by jitu mistry
Linux directory structure by jitu mistryLinux directory structure by jitu mistry
Linux directory structure by jitu mistryJITU MISTRY
 
01 t1 s2_linux_lesson1
01 t1 s2_linux_lesson101 t1 s2_linux_lesson1
01 t1 s2_linux_lesson1Niit Care
 
Introduction to Linux
Introduction to Linux Introduction to Linux
Introduction to Linux Harish R
 
LINUX
LINUXLINUX
LINUXARJUN
 
Unix file systems 2 in unix internal systems
Unix file systems 2 in unix internal systems Unix file systems 2 in unix internal systems
Unix file systems 2 in unix internal systems senthilamul
 
A Quick Introduction to Linux
A Quick Introduction to LinuxA Quick Introduction to Linux
A Quick Introduction to LinuxTusharadri Sarkar
 
Lesson 3 Working with Files in Linux
Lesson 3 Working with Files in LinuxLesson 3 Working with Files in Linux
Lesson 3 Working with Files in LinuxSadia Bashir
 

Tendances (20)

The linux file system structure
The linux file system structureThe linux file system structure
The linux file system structure
 
Linux Directory Structure
Linux Directory StructureLinux Directory Structure
Linux Directory Structure
 
Linux practicals T.Y.B.ScIT
Linux practicals T.Y.B.ScITLinux practicals T.Y.B.ScIT
Linux practicals T.Y.B.ScIT
 
Unix training session 1
Unix training   session 1Unix training   session 1
Unix training session 1
 
Linux file system
Linux file systemLinux file system
Linux file system
 
Red hat linux essentials
Red hat linux essentialsRed hat linux essentials
Red hat linux essentials
 
Lesson 2 Understanding Linux File System
Lesson 2 Understanding Linux File SystemLesson 2 Understanding Linux File System
Lesson 2 Understanding Linux File System
 
Linux.ppt
Linux.ppt Linux.ppt
Linux.ppt
 
An Introduction To Linux
An Introduction To LinuxAn Introduction To Linux
An Introduction To Linux
 
Unix files
Unix filesUnix files
Unix files
 
Linux directory structure by jitu mistry
Linux directory structure by jitu mistryLinux directory structure by jitu mistry
Linux directory structure by jitu mistry
 
01 t1 s2_linux_lesson1
01 t1 s2_linux_lesson101 t1 s2_linux_lesson1
01 t1 s2_linux_lesson1
 
Introduction to Linux
Introduction to Linux Introduction to Linux
Introduction to Linux
 
LINUX
LINUXLINUX
LINUX
 
Unix ppt
Unix pptUnix ppt
Unix ppt
 
Unix file systems 2 in unix internal systems
Unix file systems 2 in unix internal systems Unix file systems 2 in unix internal systems
Unix file systems 2 in unix internal systems
 
Linux file system
Linux file systemLinux file system
Linux file system
 
A Quick Introduction to Linux
A Quick Introduction to LinuxA Quick Introduction to Linux
A Quick Introduction to Linux
 
Unix Administration
Unix AdministrationUnix Administration
Unix Administration
 
Lesson 3 Working with Files in Linux
Lesson 3 Working with Files in LinuxLesson 3 Working with Files in Linux
Lesson 3 Working with Files in Linux
 

En vedette

Портфоліо учителя обслуговуючої праці
Портфоліо учителя обслуговуючої праціПортфоліо учителя обслуговуючої праці
Портфоліо учителя обслуговуючої праціNatalia Venhryn
 
Sun, sex and suitcase shenanigans
Sun, sex and suitcase shenanigansSun, sex and suitcase shenanigans
Sun, sex and suitcase shenanigansjocellechenery
 
Embedded systems- nanocdac
Embedded systems- nanocdacEmbedded systems- nanocdac
Embedded systems- nanocdacnanocdac
 
School groups travelling to learn Italian in Verona, Italy
School groups travelling to learn Italian in Verona, ItalySchool groups travelling to learn Italian in Verona, Italy
School groups travelling to learn Italian in Verona, ItalyCentro Studi Idea Verona
 
Idea verona school of Italian for business
Idea verona school of Italian for businessIdea verona school of Italian for business
Idea verona school of Italian for businessCentro Studi Idea Verona
 
Keypad interfacing 8051 -NANOCDAC
Keypad interfacing 8051 -NANOCDACKeypad interfacing 8051 -NANOCDAC
Keypad interfacing 8051 -NANOCDACnanocdac
 
The Norman Conquest 1066
The Norman Conquest 1066The Norman Conquest 1066
The Norman Conquest 1066jocellechenery
 
The Norman Conquest 1066
The Norman Conquest 1066The Norman Conquest 1066
The Norman Conquest 1066jocellechenery
 
Memory management in Linux
Memory management in LinuxMemory management in Linux
Memory management in LinuxRaghu Udiyar
 
『ライブラリー・リソース・ガイド』で図書館のトレンドを知ろう!
『ライブラリー・リソース・ガイド』で図書館のトレンドを知ろう!『ライブラリー・リソース・ガイド』で図書館のトレンドを知ろう!
『ライブラリー・リソース・ガイド』で図書館のトレンドを知ろう!Mia Nohara
 

En vedette (18)

Linuxppt
LinuxpptLinuxppt
Linuxppt
 
Open cv
Open cvOpen cv
Open cv
 
Портфоліо учителя обслуговуючої праці
Портфоліо учителя обслуговуючої праціПортфоліо учителя обслуговуючої праці
Портфоліо учителя обслуговуючої праці
 
Sun, sex and suitcase shenanigans
Sun, sex and suitcase shenanigansSun, sex and suitcase shenanigans
Sun, sex and suitcase shenanigans
 
Embedded systems- nanocdac
Embedded systems- nanocdacEmbedded systems- nanocdac
Embedded systems- nanocdac
 
School groups travelling to learn Italian in Verona, Italy
School groups travelling to learn Italian in Verona, ItalySchool groups travelling to learn Italian in Verona, Italy
School groups travelling to learn Italian in Verona, Italy
 
The recipe 2014
The recipe 2014The recipe 2014
The recipe 2014
 
Idea verona school of Italian for business
Idea verona school of Italian for businessIdea verona school of Italian for business
Idea verona school of Italian for business
 
Nessun dorma 2014
Nessun dorma 2014Nessun dorma 2014
Nessun dorma 2014
 
The fresco 2014
The fresco 2014The fresco 2014
The fresco 2014
 
Keypad interfacing 8051 -NANOCDAC
Keypad interfacing 8051 -NANOCDACKeypad interfacing 8051 -NANOCDAC
Keypad interfacing 8051 -NANOCDAC
 
Linux is a unix
Linux  is a unixLinux  is a unix
Linux is a unix
 
The Norman Conquest 1066
The Norman Conquest 1066The Norman Conquest 1066
The Norman Conquest 1066
 
The Norman Conquest 1066
The Norman Conquest 1066The Norman Conquest 1066
The Norman Conquest 1066
 
primadata
primadataprimadata
primadata
 
Memory management in Linux
Memory management in LinuxMemory management in Linux
Memory management in Linux
 
『ライブラリー・リソース・ガイド』で図書館のトレンドを知ろう!
『ライブラリー・リソース・ガイド』で図書館のトレンドを知ろう!『ライブラリー・リソース・ガイド』で図書館のトレンドを知ろう!
『ライブラリー・リソース・ガイド』で図書館のトレンドを知ろう!
 
питч(в разработке)
питч(в разработке)питч(в разработке)
питч(в разработке)
 

Similaire à Introduction to linux

User administration concepts and mechanisms
User administration concepts and mechanismsUser administration concepts and mechanisms
User administration concepts and mechanismsDuressa Teshome
 
Unix/Linux Basic Commands and Shell Script
Unix/Linux Basic Commands and Shell ScriptUnix/Linux Basic Commands and Shell Script
Unix/Linux Basic Commands and Shell Scriptsbmguys
 
Linux Basics Knowlage sharing.pptx
Linux Basics Knowlage sharing.pptxLinux Basics Knowlage sharing.pptx
Linux Basics Knowlage sharing.pptxbemnitekalegn
 
linux-lecture1.ppt
linux-lecture1.pptlinux-lecture1.ppt
linux-lecture1.pptNikhil Raut
 
Let’s Know GNU linux
Let’s Know GNU linuxLet’s Know GNU linux
Let’s Know GNU linuxInkiad
 
OS Lab: Introduction to Linux
OS Lab: Introduction to LinuxOS Lab: Introduction to Linux
OS Lab: Introduction to LinuxMotaz Saad
 
Programming and problem solving 3
Programming and problem solving 3Programming and problem solving 3
Programming and problem solving 3sushruth kamarushi
 
Linux operating system - Overview
Linux operating system - OverviewLinux operating system - Overview
Linux operating system - OverviewAshita Agrawal
 
chapter 3 linux-lecture.ppt
chapter 3 linux-lecture.pptchapter 3 linux-lecture.ppt
chapter 3 linux-lecture.pptanwarkade1
 
A general Overview of linux !!
A general Overview of linux !!A general Overview of linux !!
A general Overview of linux !!jainema23
 
Introduction, Features, Basic Commands and Distribution of LINUX
Introduction, Features, Basic Commands and Distribution of LINUXIntroduction, Features, Basic Commands and Distribution of LINUX
Introduction, Features, Basic Commands and Distribution of LINUXDeeksha Verma
 

Similaire à Introduction to linux (20)

Linux fundamentals
Linux fundamentalsLinux fundamentals
Linux fundamentals
 
Linux introduction (eng)
Linux introduction (eng)Linux introduction (eng)
Linux introduction (eng)
 
Intro to linux
Intro to linuxIntro to linux
Intro to linux
 
User administration concepts and mechanisms
User administration concepts and mechanismsUser administration concepts and mechanisms
User administration concepts and mechanisms
 
Unix/Linux Basic Commands and Shell Script
Unix/Linux Basic Commands and Shell ScriptUnix/Linux Basic Commands and Shell Script
Unix/Linux Basic Commands and Shell Script
 
Linux Basics Knowlage sharing.pptx
Linux Basics Knowlage sharing.pptxLinux Basics Knowlage sharing.pptx
Linux Basics Knowlage sharing.pptx
 
linux-lecture1.ppt
linux-lecture1.pptlinux-lecture1.ppt
linux-lecture1.ppt
 
Module1
Module1Module1
Module1
 
Let’s Know GNU linux
Let’s Know GNU linuxLet’s Know GNU linux
Let’s Know GNU linux
 
OS Lab: Introduction to Linux
OS Lab: Introduction to LinuxOS Lab: Introduction to Linux
OS Lab: Introduction to Linux
 
Programming and problem solving 3
Programming and problem solving 3Programming and problem solving 3
Programming and problem solving 3
 
Linux operating system - Overview
Linux operating system - OverviewLinux operating system - Overview
Linux operating system - Overview
 
beginner.en.print
beginner.en.printbeginner.en.print
beginner.en.print
 
beginner.en.print
beginner.en.printbeginner.en.print
beginner.en.print
 
beginner.en.print
beginner.en.printbeginner.en.print
beginner.en.print
 
Linux
Linux Linux
Linux
 
chapter 3 linux-lecture.ppt
chapter 3 linux-lecture.pptchapter 3 linux-lecture.ppt
chapter 3 linux-lecture.ppt
 
A general Overview of linux !!
A general Overview of linux !!A general Overview of linux !!
A general Overview of linux !!
 
Introduction, Features, Basic Commands and Distribution of LINUX
Introduction, Features, Basic Commands and Distribution of LINUXIntroduction, Features, Basic Commands and Distribution of LINUX
Introduction, Features, Basic Commands and Distribution of LINUX
 
Linux technology
Linux technologyLinux technology
Linux technology
 

Dernier

INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxnelietumpap1
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 

Dernier (20)

YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptx
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 

Introduction to linux

  • 1. Learning Linux Course Introduction Linux is a Unix like Computer operating system assembled under the model of free and open source system software  Linux 1ST released on October 1991 by Linus Torvalds .  Main supporting user space and libraries are originated by Richard Stallman 1983.  More than 90% today supercomputers run some variant of Linux.  Linux also runs in embedded systems.  Typically Linux is packaged in a format known as Linux distribution for Desktop and servers use.  Some main popular designs in Linux are Ubuntu, Redhat, Solaris, debian, fedora.  Over 1,000 developers, from at least 100 different companies, contribute to every kernel release.  In the past two years alone, over 3,200 developers from 200 companies have contributed to the kernel--which is just one small piece of a Linux distribution.  One of the most valued advantages of Linux over the other platforms lies with the high security levels it ensures.  Every Linux user is happy to work in a virus-free environment and use the regular virus- prevention time needed when working with other operating systems for other more important tasks.  Linux is being constantly developed and updated by the constantly expanding community of programmers supporting it. Advantages of Linux  Low cost: There is no need to spend time and huge amount money to obtain licenses since Linux and much of it's software come with the GNU General Public License. There is no need to worry about any software's that you use in Linux.  Stability: Linux has high stability compared with other operating systems. There is no need to reboot the Linux system to maintain performance levels. Rarely it freeze up or slow down. It has a continuous up-times of hundreds of days or more.
  • 2.  Performance: Linux provides high performance on various networks. It has the ability to handle large numbers of users simultaneously.  Networking: Linux provides a strong support for network functionality; client and server systems can be easily set up on any computer running Linux. It can perform tasks like network backup more faster than other operating systems.  Flexibility: Linux is very flexible. Linux can be used for high performance server applications, desktop applications, and embedded systems. You can install only the needed components for a particular use. You can also restrict the use of specific computers.  Compatibility: It runs all common Unix software packages and can process all common file formats.  Wider Choice: There is a large number of Linux distributions which gives you a wider choice. Each organization develop and support different distribution. You can pick the one you like best; the core function's are the same.  Better use of hard disk: Linux uses its resources well enough even when the hard disk is almost full.  Multitasking: Linux is a multitasking operating system. It can handle many things at the same time.  Security: Linux is one of the most secure operating systems. File ownership and permissions make linux more secure.  Open source: Linux is an Open source operating systems. You can easily get the source code for linux and edit it to develop your personal operating system. Differences between Linux and Windows  Linux is an open-source Operating System. People can change codes and add programs to Linux OS which will help use your computer better.  Linux evolved as a reaction to the monopoly position of windows. you can't change any code for windows OS.  You can't even see which processes do what and build your onw extension. Linux wants the programmers to extend and redesign it's OS. Linux user's can edit its OS and design new OS.
  • 3.  All flavors of Windows come from Microsoft. Linux come from different companies like LIndows , Lycoris, Red Hat, SuSe, Mandrake, Knapping, Slack ware.  Linux is customizable but Windows is not. For example,NASlite is a version of Linux that runs off a single floppy disk and converts an old computer into a file server.  This ultra small edition of Linux is capable of networking, file sharing and being a web server.  Linux is freely available for desktop or home use but Windows is expensive. For server use, Linux is cheap compared to Windows. Microsoft allows a single copy of Windows to be used on one computer. You can run Linux on any number of computers. Linux has hign security. You have to log on to Linux with a userid and password. You can login as root or as normal user. The root has full previlage. Linux has a reputation for fewer bugs than Windows. Windows must boot from a primary partition. Linux can boot from either a primary partition or a logical partition inside an extended partition. Windows must boot from the first hard disk. Linux can boot from any hard disk in the computer. Windows uses a hidden file for its swap file. Typically this file resides in the same partition as the OS (advanced users can opt to put the file in another partition). Linux uses a dedicated partition for its swap file. Windows separates directories with a back slash while Linux uses a normal forward slash. Windows file names are not case sensitive. Linux file names are. For example "abc" and "aBC" are different files in Linux, whereas in Windows it would refer to the same file. Windows and Linux have different concepts for their file hierarchy. Windows uses a volume- based file hierarchy while Linux uses a unified scheme. Windows uses letters of the alphabet to represent different devices and different hard disk partitions. eg: c: , d: , e: etc.. while in linux " / " is the main directory. Linux and windows support the concept of hidden files. In linux hidden files begin with " . ", eg: .filename Linux Directory Structure  " / " is the root Directory in Linux. " /root " will be the home directory for the root user (administrator).  Root will have the full administrative power over the system and other users. There are other directories like / home, /bin, /sbin, /lib etc.  Each user will have there own home directory. List Of All Directories in Linux / ---------> Root or the main directory |---root ---------> Home directory for the root user |---home ---------> User's home directories | |----ftp ---------> Users services are listed here | |----httpd | |----samba | |----user1 | |----user2 |---bin ---------> Commands needed during bootup and also needed by normal users
  • 4. |---sbin ---------> Like bin but commands are not intended for normal users. |---proc ---------> This filesystem is not on a disk. virtual directory. | | | |----n ---------> A directory with info about process number n. | |---usr ---------> Contains all commands, libraries, man pages etc for normal operation. | | | |----bin ---------> Almost all user commands. | |----sbin ---------> System admin commands not needed in the root filesystem. | | | |----include ---------> Header files for the C programming language. | | | |----lib ---------> Unchanging data files for programs and subsystems | |----local ---------> Locally installed software and other files. | |----man --------> Help pages | |----info ---------> Info documents | |----doc ---------> Documentation for various packages | |----tmp | |----X11R6 ---------> The X windows system files. | | | |----X386 ---------> Like X11R6 but for X11 release 5 |---boot ---------> Files used by the bootstrap loader, LILO. Kernel images stored. |---lib ---------> Shared libraries needed by the programs on the root filesystem | |----modules ---------> Loadable kernel modules. | |---dev ---------> Device files for devices such as disk drives, serial ports, etc. |---etc ---------> Configuration files specific to the machine. | |----skel ---------> For home directory creation. | |----sysconfig ---------> Files that configure the linux system for networking etc. |---var ---------> Contains files that change for mail, news, temp files, etc | |----file | |----lib ---------> Files that change while the system is running normally | |----local ---------> Variable data for programs installed in /usr/local. | |----lock ---------> Lock files. Used by a program. | |----log ---------> Log files from programs such as login and syslog etc. | | | |----run ---------> Files that contain information about the system. | | | |----spool ---------> Directories for mail, printer spools, news and other spooled work. | |----tmp ---------> Temporary files that are needed to exist for longer time. | | |---mnt ---------> Mount points for temporary mounts by the system administrator. |---tmp ---------> Temporary files. Programs running after bootup should use /var/tmp.
  • 5. Permission set in Linux For files and Directories There is permission set for the Owner, Group and Others. When you type " ll " you will get 10 set of values for each files eg: -rw-rw-r-- 1 name name 41333 Aug 18 22:57 jpg . The 1st bit denotes if its a directory or file. 2nd, 3rd and 4th bit is the owner's permission. 5th, 6th and 7th bit is group's permission and 8th, 9th and 10th bit is for other's permission. According to the example owner and group has read/write permission and other's have only read permission. You can change the permission of a file. Try chmod 777 filename. This will give owner, group and other's full permission (read/write/execute) over the file. Permission Sets 1 - Execute 2 - Write 3 - Write and Execute 4 - Read 5 - Read and Execute 6 - Read and Write 7 - Read, Write and Execute Try chmod 700 filename. This will give the owner of the file full permission. The Group and other's will have no permission to access the file. Only the owner of the file can read, write or execute the file. If you want other and Group only to read the file you can give chmod 744 filename.
  • 6. Permission set in Linux For files and Directories There is permission set for the Owner, Group and Others. When you type " ll " you will get 10 set of values for each files eg: -rw-rw-r-- 1 name name 41333 Aug 18 22:57 jpg . The 1st bit denotes if its a directory or file. 2nd, 3rd and 4th bit is the owner's permission. 5th, 6th and 7th bit is group's permission and 8th, 9th and 10th bit is for other's permission. According to the example owner and group has read/write permission and other's have only read permission. You can change the permission of a file. Try chmod 777 filename. This will give owner, group and other's full permission (read/write/execute) over the file. Permission Sets 1 - Execute 2 - Write 3 - Write and Execute 4 - Read 5 - Read and Execute 6 - Read and Write 7 - Read, Write and Execute Try chmod 700 filename. This will give the owner of the file full permission. The Group and other's will have no permission to access the file. Only the owner of the file can read, write or execute the file. If you want other and Group only to read the file you can give chmod 744 filename.