SlideShare ist ein Scribd-Unternehmen logo
1 von 39
Linux Presentation Submitted by- Anurag Deyasi Information Technology SSEC,Bhilai
Pronunciation of Linux (‘Leenooks’)     This is LinusTorvalds’ original pronunciation, based on the pronunciation of his name in Swedish. (‘Linnuks’)     This is now LinusTorvalds’ preferred pronunciation, as he considers  closer to the original  than . It also follows the pronunciation of the English word ‘linen’.  (‘Lynuks’)     The other major alternative is based on the pronunciation of the English version of ‘Linus’. It also happens to be the version I use.
What is Linux Linux is a generic term referring to Unix-like graphical user interface (GUI) based computer operating systems. It is Multi-user, Multitasking, Multiprocessor Has the X Windows GUI  Coexists with other Operating Systems  Runs on multiple platforms  Includes the Source Code
Why is it significant? Powerful Runs on multiple hardware platforms Users like its speed and stability No requirement for latest hardware It’s “free” Licensed under GPL Vendors are distributors who package Linux
  Operating System An operating system, or OS, is a software program that enables the computer hardware to communicate and operate with the computer software. Without a computer operating system, a computer would be useless. E.g.. Linux
Multi-user A multi-user operating system allows for multiple users to use the same computer at the same time and/or different times.  Multiprocessing   An operating system capable of supporting and utilizing more than one computer processor.     	 Multitasking   An operating system that is capable of allowing multiple software processes to run at the same time. Multithreading  Operating systems that allow different parts of a software program to run concurrently. Operating systems that would fall into this category are:
Open Source Software People improve it, people adapt it, people fix bugs. And this can happen at a speed that, compared to conventional software development, seems astonishing.
Desktop of Linux
Logging In Press Alt+Ctrl+F1 to go to the command promt.. Linux 2.2.13 (penguinvm.princeton.edu) (ttyp1) penguinvm login: neale Password: Last login: Tue Jan  4 10:13:13 from linuxtcp.princeton.edu [neale@penguinvmneale]$
Login in Linux
Linux Command Basics To execute a command, type its name and arguments at the command line ls -l /etc Command name Arguments Options (flags)
Connecting commands with Pipes Not as powerful as CMS Pipes but the same principle The output of one command can become the input of another: Like CMS Pipes, “|” is used to separate stages ps aux | grep netscape | wc -l wc takes this input and counts the lines its output going to the console The output of the ps command is sent to grep grep takes input and searches for “netscape” passing these lines to wc
The Current Directory / etc home usr passwd inittab neale scully marty Current working directory doc a One directory is designated the current working directory if you omit the leading / then path name is relative to the current working directory Use pwd to find out where you are doc/letter ./doc/letter /home/neale/doc/letter letter
Linux File System Basics root / Directories etc home usr passwd inittab User home directories neale scully marty a b Data files Linux files are stored in a single rooted, hierarchical file system Data files are stored in directories (folders) Directories may be nested as deep as needed
Why did we choose Linux for Internet  ,[object Object]
 Low cost compared to any other alternative. Sun Solaris,     Novell, MS Windows, etc.
 Extremely reliable.No reboots in 450+ days.
 Easy to setup. Takes 4 easy steps to setup a mail server. Download a CD, Burn it, Boot from it and the server is ready for adding users and setting passwords.
 Lower hardware requirements. Pentium computer can act as a fast mail server for 30 users.,[object Object]
Linux is Virus Free!! Linux is "virus-free" in that there are essentially no viruses for Linux in the wild, although research viruses certainly do exist.
There are other reasons, of course. "Normal" user accounts have much more limited access to the rest of the system, so making the corruption of system binaries much harder. Many distributions provide intrusion-detection software for detecting binary changes. Distributions release regular updates, which means a virus will be overwritten in a relatively short timeframe. Mandatory access controls are becoming more popular, limiting what a virus can do even if it did infiltrate a system binary.
Linux Vs Windows
Statistics Evans Data survey in 2004 says,”don'tbe surprised when Linux overtakes Windows to become the main focus for developers.” Linux servers made up more than 11 percent of all servers shipped in India in the first quarter Revenue from sales of Linux-based servers surged 90 percent in the fourth quarter 2002.  Percentage growth in the number of servers number up to June 30, 2009  Linux servers  = 48%  Microsoft servers  = 13%
Microsoft and Linux  Are still, the two most  popular operating  Systems..
Linux  is  Cheaper
Table Showing cost difference
Linux Applications for Servers ,[object Object]
 Easy administration using web based interface
 Very low resource utilization. A 486 66MHz can be your firewall
 No cost to setup a server. As easy as download a CD and install.
 Lower maintenance. Keeps running for years.,[object Object]
Linux  Commands
Basic Linux Commands • File Handling • Text Processing • System Administration • Process Management • Archival • Network • File Systems • Advanced Commands
Sources to learn commands?? Primary – man(manual) pages. #1)man <command> shows all information about the command #2)<command> help shows the available options for that command
File Handling commands • mkdir – make directories Usage: mkdir [OPTION] DIRECTORY... eg. mkdirprabhat • ls – list directory contents Usage: ls [OPTION]... [FILE]... eg. ls, ls l, lsprabhat • cd – changes directories Usage: cd [DIRECTORY] eg. cdprabhat
File Handling(contd...) • pwd print name of current working directory Usage: pwd • vim – Vi Improved, a programmers text editor Usage: vim [OPTION] [file]... eg. vim file1.txt
cp – copy files and directories Usage: cp [OPTION]... SOURCE DEST eg. cp sample.txt sample_copy.txt cp sample_copy.txt target_dir mv – move (rename) files Usage: mv [OPTION]... SOURCE DEST eg. mv source.txt target_dir mv old.txt new.txt File Handling(contd...)
File Handling(contd...) • rm remove files or directories Usage: rm [OPTION]... FILE... eg. rm file1.txt , rm rf some_dir • find – search for files in a directory hierarchy Usage: find [OPTION] [path] [pattern] eg. find file1.txt, find name file1.txt • history – prints recently used commands Usage: history
Text Processing • cat – concatenate files and print on the standard output Usage: cat [OPTION] [FILE]... eg. cat file1.txt file2.txt cat n file1.txt • echo – display a line of text Usage: echo [OPTION] [string] ... eg. echo I love India echo $

Weitere ähnliche Inhalte

Was ist angesagt? (20)

Linux commands
Linux commandsLinux commands
Linux commands
 
A general Overview of linux !!
A general Overview of linux !!A general Overview of linux !!
A general Overview of linux !!
 
Unix ppt
Unix pptUnix ppt
Unix ppt
 
Linux seminar
Linux seminarLinux seminar
Linux seminar
 
Unix ppt
Unix pptUnix ppt
Unix ppt
 
Linux command ppt
Linux command pptLinux command ppt
Linux command ppt
 
Introduction to Linux basic
Introduction to Linux basicIntroduction to Linux basic
Introduction to Linux basic
 
Introduction to Shell script
Introduction to Shell scriptIntroduction to Shell script
Introduction to Shell script
 
Linux Introduction
Linux IntroductionLinux Introduction
Linux Introduction
 
Comparing windows vs mac vs linux
Comparing windows vs mac vs linuxComparing windows vs mac vs linux
Comparing windows vs mac vs linux
 
Linux file system
Linux file systemLinux file system
Linux file system
 
Windows V/S Linux OS - Comparison
Windows V/S Linux OS - ComparisonWindows V/S Linux OS - Comparison
Windows V/S Linux OS - Comparison
 
Unix operating system
Unix operating systemUnix operating system
Unix operating system
 
Linux
Linux Linux
Linux
 
Shell and its types in LINUX
Shell and its types in LINUXShell and its types in LINUX
Shell and its types in LINUX
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
 
Linux security
Linux securityLinux security
Linux security
 
Linux Administration
Linux AdministrationLinux Administration
Linux Administration
 
A History of Linux
A History of LinuxA History of Linux
A History of Linux
 
Android ppt
Android ppt Android ppt
Android ppt
 

Andere mochten auch

Andere mochten auch (20)

Chapter 21 - The Linux System
Chapter 21 - The Linux SystemChapter 21 - The Linux System
Chapter 21 - The Linux System
 
Linux introduction
Linux introductionLinux introduction
Linux introduction
 
An Introduction To Linux
An Introduction To LinuxAn Introduction To Linux
An Introduction To Linux
 
Linux S.O
Linux S.OLinux S.O
Linux S.O
 
An Introduction to Linux
An Introduction to LinuxAn Introduction to Linux
An Introduction to Linux
 
Scraping the web with python
Scraping the web with pythonScraping the web with python
Scraping the web with python
 
Hadoop introduction 2
Hadoop introduction 2Hadoop introduction 2
Hadoop introduction 2
 
Mr
MrMr
Mr
 
Linux Introduction (Commands)
Linux Introduction (Commands)Linux Introduction (Commands)
Linux Introduction (Commands)
 
Tutorial on Web Scraping in Python
Tutorial on Web Scraping in PythonTutorial on Web Scraping in Python
Tutorial on Web Scraping in Python
 
Lamp configuration u buntu 10.04
Lamp configuration   u buntu 10.04Lamp configuration   u buntu 10.04
Lamp configuration u buntu 10.04
 
NTRLS June08
NTRLS June08NTRLS June08
NTRLS June08
 
X Windows
X WindowsX Windows
X Windows
 
linux introduction
linux introductionlinux introduction
linux introduction
 
Presentation1 linux os
Presentation1 linux osPresentation1 linux os
Presentation1 linux os
 
Linux installation and booting process
Linux installation and booting processLinux installation and booting process
Linux installation and booting process
 
How to Install LAMP in Ubuntu 14.04
How to Install LAMP in Ubuntu 14.04How to Install LAMP in Ubuntu 14.04
How to Install LAMP in Ubuntu 14.04
 
Linux File System
Linux File SystemLinux File System
Linux File System
 
Big Data & Hadoop Tutorial
Big Data & Hadoop TutorialBig Data & Hadoop Tutorial
Big Data & Hadoop Tutorial
 
Web Scraping with Python
Web Scraping with PythonWeb Scraping with Python
Web Scraping with Python
 

Ähnlich wie Linux.ppt

Ähnlich wie Linux.ppt (20)

Chapter09 -- networking with unix and linux
Chapter09  -- networking with unix and linuxChapter09  -- networking with unix and linux
Chapter09 -- networking with unix and linux
 
Intro to linux
Intro to linuxIntro to linux
Intro to linux
 
Linux Operating System
Linux Operating SystemLinux Operating System
Linux Operating System
 
Linux basic
Linux basicLinux basic
Linux basic
 
Linux for everyone
Linux for everyoneLinux for everyone
Linux for everyone
 
Introduction to linux
Introduction to linuxIntroduction to linux
Introduction to linux
 
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
 
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
 
Ch01
Ch01Ch01
Ch01
 
Linux
Linux Linux
Linux
 
3. intro
3. intro3. intro
3. intro
 
cisco
ciscocisco
cisco
 
Linux interview questions-ppt
Linux interview questions-pptLinux interview questions-ppt
Linux interview questions-ppt
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
 
Linux introduction (eng)
Linux introduction (eng)Linux introduction (eng)
Linux introduction (eng)
 
Linux fundamentals
Linux fundamentalsLinux fundamentals
Linux fundamentals
 
Unix_Introduction_BCA.pptx the very basi
Unix_Introduction_BCA.pptx the very basiUnix_Introduction_BCA.pptx the very basi
Unix_Introduction_BCA.pptx the very basi
 
Linux opearting system ppt
Linux opearting system pptLinux opearting system ppt
Linux opearting system ppt
 
Linux
LinuxLinux
Linux
 
Fundamentals of Computers
Fundamentals of ComputersFundamentals of Computers
Fundamentals of Computers
 

Kürzlich hochgeladen

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 

Kürzlich hochgeladen (20)

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 

Linux.ppt

  • 1. Linux Presentation Submitted by- Anurag Deyasi Information Technology SSEC,Bhilai
  • 2. Pronunciation of Linux (‘Leenooks’) This is LinusTorvalds’ original pronunciation, based on the pronunciation of his name in Swedish. (‘Linnuks’) This is now LinusTorvalds’ preferred pronunciation, as he considers closer to the original than . It also follows the pronunciation of the English word ‘linen’. (‘Lynuks’) The other major alternative is based on the pronunciation of the English version of ‘Linus’. It also happens to be the version I use.
  • 3. What is Linux Linux is a generic term referring to Unix-like graphical user interface (GUI) based computer operating systems. It is Multi-user, Multitasking, Multiprocessor Has the X Windows GUI Coexists with other Operating Systems Runs on multiple platforms Includes the Source Code
  • 4. Why is it significant? Powerful Runs on multiple hardware platforms Users like its speed and stability No requirement for latest hardware It’s “free” Licensed under GPL Vendors are distributors who package Linux
  • 5. Operating System An operating system, or OS, is a software program that enables the computer hardware to communicate and operate with the computer software. Without a computer operating system, a computer would be useless. E.g.. Linux
  • 6. Multi-user A multi-user operating system allows for multiple users to use the same computer at the same time and/or different times. Multiprocessing An operating system capable of supporting and utilizing more than one computer processor. Multitasking An operating system that is capable of allowing multiple software processes to run at the same time. Multithreading Operating systems that allow different parts of a software program to run concurrently. Operating systems that would fall into this category are:
  • 7. Open Source Software People improve it, people adapt it, people fix bugs. And this can happen at a speed that, compared to conventional software development, seems astonishing.
  • 9. Logging In Press Alt+Ctrl+F1 to go to the command promt.. Linux 2.2.13 (penguinvm.princeton.edu) (ttyp1) penguinvm login: neale Password: Last login: Tue Jan 4 10:13:13 from linuxtcp.princeton.edu [neale@penguinvmneale]$
  • 11. Linux Command Basics To execute a command, type its name and arguments at the command line ls -l /etc Command name Arguments Options (flags)
  • 12. Connecting commands with Pipes Not as powerful as CMS Pipes but the same principle The output of one command can become the input of another: Like CMS Pipes, “|” is used to separate stages ps aux | grep netscape | wc -l wc takes this input and counts the lines its output going to the console The output of the ps command is sent to grep grep takes input and searches for “netscape” passing these lines to wc
  • 13. The Current Directory / etc home usr passwd inittab neale scully marty Current working directory doc a One directory is designated the current working directory if you omit the leading / then path name is relative to the current working directory Use pwd to find out where you are doc/letter ./doc/letter /home/neale/doc/letter letter
  • 14. Linux File System Basics root / Directories etc home usr passwd inittab User home directories neale scully marty a b Data files Linux files are stored in a single rooted, hierarchical file system Data files are stored in directories (folders) Directories may be nested as deep as needed
  • 15.
  • 16. Low cost compared to any other alternative. Sun Solaris, Novell, MS Windows, etc.
  • 17. Extremely reliable.No reboots in 450+ days.
  • 18. Easy to setup. Takes 4 easy steps to setup a mail server. Download a CD, Burn it, Boot from it and the server is ready for adding users and setting passwords.
  • 19.
  • 20. Linux is Virus Free!! Linux is "virus-free" in that there are essentially no viruses for Linux in the wild, although research viruses certainly do exist.
  • 21. There are other reasons, of course. "Normal" user accounts have much more limited access to the rest of the system, so making the corruption of system binaries much harder. Many distributions provide intrusion-detection software for detecting binary changes. Distributions release regular updates, which means a virus will be overwritten in a relatively short timeframe. Mandatory access controls are becoming more popular, limiting what a virus can do even if it did infiltrate a system binary.
  • 23. Statistics Evans Data survey in 2004 says,”don'tbe surprised when Linux overtakes Windows to become the main focus for developers.” Linux servers made up more than 11 percent of all servers shipped in India in the first quarter Revenue from sales of Linux-based servers surged 90 percent in the fourth quarter 2002. Percentage growth in the number of servers number up to June 30, 2009 Linux servers = 48% Microsoft servers = 13%
  • 24. Microsoft and Linux Are still, the two most popular operating Systems..
  • 25. Linux is Cheaper
  • 26. Table Showing cost difference
  • 27.
  • 28. Easy administration using web based interface
  • 29. Very low resource utilization. A 486 66MHz can be your firewall
  • 30. No cost to setup a server. As easy as download a CD and install.
  • 31.
  • 33. Basic Linux Commands • File Handling • Text Processing • System Administration • Process Management • Archival • Network • File Systems • Advanced Commands
  • 34. Sources to learn commands?? Primary – man(manual) pages. #1)man <command> shows all information about the command #2)<command> help shows the available options for that command
  • 35. File Handling commands • mkdir – make directories Usage: mkdir [OPTION] DIRECTORY... eg. mkdirprabhat • ls – list directory contents Usage: ls [OPTION]... [FILE]... eg. ls, ls l, lsprabhat • cd – changes directories Usage: cd [DIRECTORY] eg. cdprabhat
  • 36. File Handling(contd...) • pwd print name of current working directory Usage: pwd • vim – Vi Improved, a programmers text editor Usage: vim [OPTION] [file]... eg. vim file1.txt
  • 37. cp – copy files and directories Usage: cp [OPTION]... SOURCE DEST eg. cp sample.txt sample_copy.txt cp sample_copy.txt target_dir mv – move (rename) files Usage: mv [OPTION]... SOURCE DEST eg. mv source.txt target_dir mv old.txt new.txt File Handling(contd...)
  • 38. File Handling(contd...) • rm remove files or directories Usage: rm [OPTION]... FILE... eg. rm file1.txt , rm rf some_dir • find – search for files in a directory hierarchy Usage: find [OPTION] [path] [pattern] eg. find file1.txt, find name file1.txt • history – prints recently used commands Usage: history
  • 39. Text Processing • cat – concatenate files and print on the standard output Usage: cat [OPTION] [FILE]... eg. cat file1.txt file2.txt cat n file1.txt • echo – display a line of text Usage: echo [OPTION] [string] ... eg. echo I love India echo $
  • 40. Text Processing(contd...) • grep print lines matching a pattern Usage: grep [OPTION] PATTERN [FILE]... eg. grepi apple sample.txt • wc print the number of newlines, words, and bytes in files Usage: wc [OPTION]... [FILE]... eg. wc file1.txt wc L file1.txt
  • 41. System Administration • chmod – change file access permissions Usage: chmod [OPTION] [MODE] [FILE] eg. chmod 744 calculate.sh • chown – change file owner and group Usage: chown [OPTION]... OWNER[:[GROUP]] FILE... eg. chownremo myfile.txt
  • 42. System Administration (contd...) • su – change user ID or become superuser Usage: su [OPTION] [LOGIN] eg. suremo, su • passwd – update a user’s authentication tokens(s) Usage: passwd [OPTION] eg. passwd • who – show who is logged on Usage: who [OPTION] eg. who , who b , who q
  • 43. Advanced Commands • reboot – reboot the system Usage: reboot [OPTION] eg. reboot • poweroff – power off the system Usage: poweroff [OPTION] eg. poweroff
  • 44. Further Reference www.linux.com - News, Software, Documentation, Tutorials, etc. www.linuxhq.com - Another great Linux resource site. www.linuxjournal.com - The Monthly Magazine for Linux Community www.tldp.org - The Linux Documentation Project. Excellent help for beginners. www.userfriendly.org - Linux cartoon strips