SlideShare a Scribd company logo
Free and OpenFree and Open
Source ComputingSource Computing
Prasanth VPrasanth V
Dept. of Basic Science and Basic Engg:Dept. of Basic Science and Basic Engg:
IntroductionIntroduction
• Free software is a social movement
• Open source is development methodology
• For the free software movement, free software is an
ethical imperative, essential respect for the users
freedom.
• Open source considers issues in terms of how to
make software “better”—in a practical sense only.
Free Vs Open Source software
Introduction toIntroduction to
GNU/LinuxGNU/Linux
Before LinuxBefore 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
GNU projectGNU project
– Established in 1984 by Richard Stallman, who believes that
software should be free from restrictions against copying or
modification in order to make better and efficient computer
programs
GNU is a recursive acronym for “GNU's Not Unix”
Aim at developing a complete Unix-like operating
system which is free for copying and modification
Companies make their money by maintaining and
distributing the software, e.g. optimally packaging the
software with different tools (Redhat, Slackware,
Mandrake, SuSE, etc)
Stallman built the first free GNU C Compiler in 1991.
But still, an OS was yet to be developed
Beginning of LinuxBeginning 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
Message from Professor Andrew Tanenbaum
" I still maintain the point that designing a monolithic
kernel in 1991 is a fundamental error. Be thankful you are
not my student. You would not get a high grade for such
a design :-)“
Soon more than a hundred people joined the Linux
camp. Then thousands. Then hundreds of thousands
–It was licensed under GNU General Public License, thus
ensuring that the source codes will be free for all to copy,
study and to change.
(Andrew Tanenbaum to Linus Torvalds)
Linux TodayLinux Today
– Linux has been used for many computing platforms
– PC, Supercomputer,…
– ATMs....
– Not only character user interface but graphical user interface
is available
– Commercial vendors moved in Linux itself to provide freely
distributed code. They make their money by compiling up
various software and gathering them in a distributable format
– Red Hat, Slackware, etc
Linux - free softwareLinux - free software
• Free software, as defined by the FSF (Free Software
Foundation), is a "matter of liberty, not price." To qualify as free
software by FSF standards, you must be able to:
– Run the program for any purpose you want to, rather than be
restricted in what you can use it for.
– View the program's source code.
– Study the program's source code and modify it if you need to.
– Share the program with others.
– Improve the program and release those improvements so that
others can use them.
Linux groupsLinux groups
• http://www.linux.org/groups/
Linux DistributionsLinux Distributions
• http://www.linux.org/dist/list.html
StructureStructure
Linux ShellLinux Shell
 Shell interprets the command and
request service from kernel
 Similar to DOS but DOS has only one
set of interface while Linux can select
different shell
– Bourne Again shell (Bash), TC shell
(Tcsh), Z shell (Zsh)
Kernel
Bash, Tcsh, Zsh
ls pwd
whoami
 Different shell has similar but different functionality
 Bash is the default for Linux
 Graphical user interface of Linux is in fact an application
program work on the shell
command to show the content
of current directory
command to show the content
of current directory with option
-al
The prompt $ shows that
bash shell is using
All LINUX commands start with the name of the
command and can be followed by options and arguments.
LINUX Command line InterfaceLINUX Command line Interface
File system-HierarchyFile system-Hierarchy
The most important subdirectories inside theThe most important subdirectories inside the
root directory are:root directory are:
• /bin : Important Linux commands available to the average
user.
• /boot : The files necessary for the system to boot. Not all
Linux distributions use this one.
• /dev : All device drivers. Device drivers are the files that
your Linux system uses to talk to your hardware. For
example, there's a file in the /dev directory for your
particular make and model of monitor, and all of your Linux
computer's communications with the monitor go through
that file.
• /etc : System configuration files.
• /home : Every user except root gets her own folder in here,
named for her login account. So, the user who logs in with
linda has the directory /home/name, where all the personal
files are kept.
• /lib : System libraries. Libraries are just bunches of
programming code that the programs on your system use
to get things done.
• /mnt : Mount points. When you temporarily load the
contents of a CD-ROM or USB drive, you typically use a
special name under /mnt. For example, many distributions
(including Fedora) come, by default, with the directory
/mnt/cdrom, which is where your CD-ROM drive's contents
are made accessible.
• /root : The root user's home directory.
• /sbin : Essential commands that are only for the system
administrator.
• /tmp : Temporary files and storage space. Don't put
anything in here that you want to keep. Most Linux
distributions (including Fedora) are set up to delete any file
that's been in this directory longer than three days.
• /usr : Programs and data that can be shared across many
systems and don't need to be changed.
• /var : Data that changes constantly (log files that contain
information about what's happening on your system, data
on its way to the printer, and so on).
The most important subdirectories inside the rootThe most important subdirectories inside the root
directory are:directory are:
Home directoryHome directory
• You can see what your home directory is called by
entering
• pwd (print current working directory)
Commands:
/ (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
Some of the basic commands you
should learn are the ones that help
you navigate the file system.
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
Names in blue are directories, indicated by a
letter d at the beginning of the line
The concept of simple file and
directory is similar to DOS
Why I Use LinuxWhy I Use Linux
Introduction to linux
THANK YOU......THANK YOU......
Ad

More Related Content

What's hot (20)

Introduction to linux at Introductory Bioinformatics Workshop
Introduction to linux at Introductory Bioinformatics WorkshopIntroduction to linux at Introductory Bioinformatics Workshop
Introduction to linux at Introductory Bioinformatics Workshop
Setor Amuzu
 
Linux: Basics OF Linux
Linux: Basics OF LinuxLinux: Basics OF Linux
Linux: Basics OF Linux
Omkar Walavalkar
 
Introduction to Linux for bioinformatics
Introduction to Linux for bioinformaticsIntroduction to Linux for bioinformatics
Introduction to Linux for bioinformatics
BITS
 
Linux.ppt
Linux.ppt Linux.ppt
Linux.ppt
onu9
 
Linux
Linux Linux
Linux
Kevin James
 
Linux programming lecture_notes
Linux programming lecture_notesLinux programming lecture_notes
Linux programming lecture_notes
IMRAN KHAN
 
Part 1 of 'Introduction to Linux for bioinformatics': Introduction
Part 1 of 'Introduction to Linux for bioinformatics': IntroductionPart 1 of 'Introduction to Linux for bioinformatics': Introduction
Part 1 of 'Introduction to Linux for bioinformatics': Introduction
Joachim Jacob
 
Techbuddy: Introduction to Linux session
Techbuddy: Introduction to Linux sessionTechbuddy: Introduction to Linux session
Techbuddy: Introduction to Linux session
Ashish Bhatia
 
Linux basics part 1
Linux basics part 1Linux basics part 1
Linux basics part 1
Lilesh Pathe
 
UNIX introduction
UNIX introductionUNIX introduction
UNIX introduction
MUFIX Community
 
An Introduction To Linux
An Introduction To LinuxAn Introduction To Linux
An Introduction To Linux
Ishan A B Ambanwela
 
A Quick Introduction to Linux
A Quick Introduction to LinuxA Quick Introduction to Linux
A Quick Introduction to Linux
Tusharadri Sarkar
 
Linux presentation
Linux presentationLinux presentation
Linux presentation
Nikhil Jain
 
Linux history & features
Linux history & featuresLinux history & features
Linux history & features
Rohit Kumar
 
Linux ppt
Linux pptLinux ppt
Linux ppt
lincy21
 
Linux operating system ppt
Linux operating system pptLinux operating system ppt
Linux operating system ppt
Achyut Sinha
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
Muhammad Qazi
 
computer notes - Unix primer
computer notes - Unix primercomputer notes - Unix primer
computer notes - Unix primer
ecomputernotes
 
Linux fundamentals Training
Linux fundamentals TrainingLinux fundamentals Training
Linux fundamentals Training
Love Steven
 
Linux notes
Linux notesLinux notes
Linux notes
Teja Bheemanapally
 
Introduction to linux at Introductory Bioinformatics Workshop
Introduction to linux at Introductory Bioinformatics WorkshopIntroduction to linux at Introductory Bioinformatics Workshop
Introduction to linux at Introductory Bioinformatics Workshop
Setor Amuzu
 
Introduction to Linux for bioinformatics
Introduction to Linux for bioinformaticsIntroduction to Linux for bioinformatics
Introduction to Linux for bioinformatics
BITS
 
Linux.ppt
Linux.ppt Linux.ppt
Linux.ppt
onu9
 
Linux programming lecture_notes
Linux programming lecture_notesLinux programming lecture_notes
Linux programming lecture_notes
IMRAN KHAN
 
Part 1 of 'Introduction to Linux for bioinformatics': Introduction
Part 1 of 'Introduction to Linux for bioinformatics': IntroductionPart 1 of 'Introduction to Linux for bioinformatics': Introduction
Part 1 of 'Introduction to Linux for bioinformatics': Introduction
Joachim Jacob
 
Techbuddy: Introduction to Linux session
Techbuddy: Introduction to Linux sessionTechbuddy: Introduction to Linux session
Techbuddy: Introduction to Linux session
Ashish Bhatia
 
Linux basics part 1
Linux basics part 1Linux basics part 1
Linux basics part 1
Lilesh Pathe
 
A Quick Introduction to Linux
A Quick Introduction to LinuxA Quick Introduction to Linux
A Quick Introduction to Linux
Tusharadri Sarkar
 
Linux presentation
Linux presentationLinux presentation
Linux presentation
Nikhil Jain
 
Linux history & features
Linux history & featuresLinux history & features
Linux history & features
Rohit Kumar
 
Linux ppt
Linux pptLinux ppt
Linux ppt
lincy21
 
Linux operating system ppt
Linux operating system pptLinux operating system ppt
Linux operating system ppt
Achyut Sinha
 
computer notes - Unix primer
computer notes - Unix primercomputer notes - Unix primer
computer notes - Unix primer
ecomputernotes
 
Linux fundamentals Training
Linux fundamentals TrainingLinux fundamentals Training
Linux fundamentals Training
Love Steven
 

Similar to Introduction to linux (20)

Linux
LinuxLinux
Linux
Nikhil Dhiman
 
Linux
LinuxLinux
Linux
manikkan
 
Linux
LinuxLinux
Linux
Sivashankari Sivanantham
 
Introduction about linux
Introduction about linuxIntroduction about linux
Introduction about linux
ABHISHEK KUMAR
 
Linux forensics
Linux forensicsLinux forensics
Linux forensics
Santosh Khadsare
 
Intro to linux
Intro to linuxIntro to linux
Intro to linux
Ravi Prakash Giri
 
Report
ReportReport
Report
Henard Rodriguez
 
Programming and problem solving 3
Programming and problem solving 3Programming and problem solving 3
Programming and problem solving 3
sushruth kamarushi
 
Opensource technologies
Opensource technologiesOpensource technologies
Opensource technologies
Buddhika Karunanayaka
 
Module1
Module1Module1
Module1
shahilashahul
 
Linux technology
Linux technologyLinux technology
Linux technology
Prakash Poudel
 
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
Deeksha Verma
 
OS Lab: Introduction to Linux
OS Lab: Introduction to LinuxOS Lab: Introduction to Linux
OS Lab: Introduction to Linux
Motaz Saad
 
Linux introduction (eng)
Linux introduction (eng)Linux introduction (eng)
Linux introduction (eng)
Anatoliy Okhotnikov
 
INTRODUCTION TO LINUX
INTRODUCTION TO LINUXINTRODUCTION TO LINUX
INTRODUCTION TO LINUX
hafees4
 
Linux
Linux Linux
Linux
mazenetsolution
 
Unix _linux_fundamentals_for_hpc-_b
Unix  _linux_fundamentals_for_hpc-_bUnix  _linux_fundamentals_for_hpc-_b
Unix _linux_fundamentals_for_hpc-_b
Mohammad Reza Beygi
 
I Am Linux-Introductory Module on Linux
I Am Linux-Introductory Module on LinuxI Am Linux-Introductory Module on Linux
I Am Linux-Introductory Module on Linux
Sagar Kumar
 
Linux administration classes in mumbai
Linux administration classes in mumbaiLinux administration classes in mumbai
Linux administration classes in mumbai
Vibrant Technologies & Computers
 
Linux_CASESTUDY.ppt
Linux_CASESTUDY.pptLinux_CASESTUDY.ppt
Linux_CASESTUDY.ppt
GaganaPurshothama
 
Ad

Recently uploaded (20)

The Significance of Hardware in Information Systems.pdf
The Significance of Hardware in Information Systems.pdfThe Significance of Hardware in Information Systems.pdf
The Significance of Hardware in Information Systems.pdf
drewplanas10
 
Adobe Lightroom Classic Crack FREE Latest link 2025
Adobe Lightroom Classic Crack FREE Latest link 2025Adobe Lightroom Classic Crack FREE Latest link 2025
Adobe Lightroom Classic Crack FREE Latest link 2025
kashifyounis067
 
Landscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature ReviewLandscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature Review
Hironori Washizaki
 
PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025
mu394968
 
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdfMicrosoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
TechSoup
 
Download Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With LatestDownload Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With Latest
tahirabibi60507
 
WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)
sh607827
 
Download YouTube By Click 2025 Free Full Activated
Download YouTube By Click 2025 Free Full ActivatedDownload YouTube By Click 2025 Free Full Activated
Download YouTube By Click 2025 Free Full Activated
saniamalik72555
 
Adobe After Effects Crack FREE FRESH version 2025
Adobe After Effects Crack FREE FRESH version 2025Adobe After Effects Crack FREE FRESH version 2025
Adobe After Effects Crack FREE FRESH version 2025
kashifyounis067
 
Adobe Illustrator Crack FREE Download 2025 Latest Version
Adobe Illustrator Crack FREE Download 2025 Latest VersionAdobe Illustrator Crack FREE Download 2025 Latest Version
Adobe Illustrator Crack FREE Download 2025 Latest Version
kashifyounis067
 
Get & Download Wondershare Filmora Crack Latest [2025]
Get & Download Wondershare Filmora Crack Latest [2025]Get & Download Wondershare Filmora Crack Latest [2025]
Get & Download Wondershare Filmora Crack Latest [2025]
saniaaftab72555
 
Douwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License codeDouwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License code
aneelaramzan63
 
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Orangescrum
 
How can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptxHow can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptx
laravinson24
 
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AIScaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
danshalev
 
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage DashboardsAdobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
BradBedford3
 
Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)
Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)
Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)
Andre Hora
 
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
steaveroggers
 
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
AxisTechnolabs
 
Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)
Allon Mureinik
 
The Significance of Hardware in Information Systems.pdf
The Significance of Hardware in Information Systems.pdfThe Significance of Hardware in Information Systems.pdf
The Significance of Hardware in Information Systems.pdf
drewplanas10
 
Adobe Lightroom Classic Crack FREE Latest link 2025
Adobe Lightroom Classic Crack FREE Latest link 2025Adobe Lightroom Classic Crack FREE Latest link 2025
Adobe Lightroom Classic Crack FREE Latest link 2025
kashifyounis067
 
Landscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature ReviewLandscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature Review
Hironori Washizaki
 
PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025
mu394968
 
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdfMicrosoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
TechSoup
 
Download Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With LatestDownload Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With Latest
tahirabibi60507
 
WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)
sh607827
 
Download YouTube By Click 2025 Free Full Activated
Download YouTube By Click 2025 Free Full ActivatedDownload YouTube By Click 2025 Free Full Activated
Download YouTube By Click 2025 Free Full Activated
saniamalik72555
 
Adobe After Effects Crack FREE FRESH version 2025
Adobe After Effects Crack FREE FRESH version 2025Adobe After Effects Crack FREE FRESH version 2025
Adobe After Effects Crack FREE FRESH version 2025
kashifyounis067
 
Adobe Illustrator Crack FREE Download 2025 Latest Version
Adobe Illustrator Crack FREE Download 2025 Latest VersionAdobe Illustrator Crack FREE Download 2025 Latest Version
Adobe Illustrator Crack FREE Download 2025 Latest Version
kashifyounis067
 
Get & Download Wondershare Filmora Crack Latest [2025]
Get & Download Wondershare Filmora Crack Latest [2025]Get & Download Wondershare Filmora Crack Latest [2025]
Get & Download Wondershare Filmora Crack Latest [2025]
saniaaftab72555
 
Douwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License codeDouwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License code
aneelaramzan63
 
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Orangescrum
 
How can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptxHow can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptx
laravinson24
 
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AIScaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
danshalev
 
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage DashboardsAdobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
BradBedford3
 
Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)
Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)
Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)
Andre Hora
 
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
steaveroggers
 
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
AxisTechnolabs
 
Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)
Allon Mureinik
 
Ad

Introduction to linux

  • 1. Free and OpenFree and Open Source ComputingSource Computing Prasanth VPrasanth V Dept. of Basic Science and Basic Engg:Dept. of Basic Science and Basic Engg:
  • 2. IntroductionIntroduction • Free software is a social movement • Open source is development methodology • For the free software movement, free software is an ethical imperative, essential respect for the users freedom. • Open source considers issues in terms of how to make software “better”—in a practical sense only. Free Vs Open Source software
  • 4. Before LinuxBefore 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
  • 5. GNU projectGNU project – Established in 1984 by Richard Stallman, who believes that software should be free from restrictions against copying or modification in order to make better and efficient computer programs GNU is a recursive acronym for “GNU's Not Unix” Aim at developing a complete Unix-like operating system which is free for copying and modification Companies make their money by maintaining and distributing the software, e.g. optimally packaging the software with different tools (Redhat, Slackware, Mandrake, SuSE, etc) Stallman built the first free GNU C Compiler in 1991. But still, an OS was yet to be developed
  • 6. Beginning of LinuxBeginning 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. Message from Professor Andrew Tanenbaum " I still maintain the point that designing a monolithic kernel in 1991 is a fundamental error. Be thankful you are not my student. You would not get a high grade for such a design :-)“ Soon more than a hundred people joined the Linux camp. Then thousands. Then hundreds of thousands –It was licensed under GNU General Public License, thus ensuring that the source codes will be free for all to copy, study and to change. (Andrew Tanenbaum to Linus Torvalds)
  • 8. Linux TodayLinux Today – Linux has been used for many computing platforms – PC, Supercomputer,… – ATMs.... – Not only character user interface but graphical user interface is available – Commercial vendors moved in Linux itself to provide freely distributed code. They make their money by compiling up various software and gathering them in a distributable format – Red Hat, Slackware, etc
  • 9. Linux - free softwareLinux - free software • Free software, as defined by the FSF (Free Software Foundation), is a "matter of liberty, not price." To qualify as free software by FSF standards, you must be able to: – Run the program for any purpose you want to, rather than be restricted in what you can use it for. – View the program's source code. – Study the program's source code and modify it if you need to. – Share the program with others. – Improve the program and release those improvements so that others can use them.
  • 10. Linux groupsLinux groups • http://www.linux.org/groups/
  • 11. Linux DistributionsLinux Distributions • http://www.linux.org/dist/list.html
  • 13. Linux ShellLinux Shell  Shell interprets the command and request service from kernel  Similar to DOS but DOS has only one set of interface while Linux can select different shell – Bourne Again shell (Bash), TC shell (Tcsh), Z shell (Zsh) Kernel Bash, Tcsh, Zsh ls pwd whoami  Different shell has similar but different functionality  Bash is the default for Linux  Graphical user interface of Linux is in fact an application program work on the shell
  • 14. command to show the content of current directory command to show the content of current directory with option -al The prompt $ shows that bash shell is using All LINUX commands start with the name of the command and can be followed by options and arguments. LINUX Command line InterfaceLINUX Command line Interface
  • 16. The most important subdirectories inside theThe most important subdirectories inside the root directory are:root directory are: • /bin : Important Linux commands available to the average user. • /boot : The files necessary for the system to boot. Not all Linux distributions use this one. • /dev : All device drivers. Device drivers are the files that your Linux system uses to talk to your hardware. For example, there's a file in the /dev directory for your particular make and model of monitor, and all of your Linux computer's communications with the monitor go through that file. • /etc : System configuration files. • /home : Every user except root gets her own folder in here, named for her login account. So, the user who logs in with linda has the directory /home/name, where all the personal files are kept. • /lib : System libraries. Libraries are just bunches of programming code that the programs on your system use to get things done.
  • 17. • /mnt : Mount points. When you temporarily load the contents of a CD-ROM or USB drive, you typically use a special name under /mnt. For example, many distributions (including Fedora) come, by default, with the directory /mnt/cdrom, which is where your CD-ROM drive's contents are made accessible. • /root : The root user's home directory. • /sbin : Essential commands that are only for the system administrator. • /tmp : Temporary files and storage space. Don't put anything in here that you want to keep. Most Linux distributions (including Fedora) are set up to delete any file that's been in this directory longer than three days. • /usr : Programs and data that can be shared across many systems and don't need to be changed. • /var : Data that changes constantly (log files that contain information about what's happening on your system, data on its way to the printer, and so on). The most important subdirectories inside the rootThe most important subdirectories inside the root directory are:directory are:
  • 18. Home directoryHome directory • You can see what your home directory is called by entering • pwd (print current working directory)
  • 19. Commands: / (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 Some of the basic commands you should learn are the ones that help you navigate the file system.
  • 20. 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
  • 21. Names in blue are directories, indicated by a letter d at the beginning of the line The concept of simple file and directory is similar to DOS
  • 22. Why I Use LinuxWhy I Use Linux