SlideShare une entreprise Scribd logo
1  sur  119
An Intoduction to Linux
Contents ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
What is Linux ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Where did it come from? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Open Source Software ,[object Object],[object Object]
How do you get it? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Why is it significant? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Linux/390 Using it
Logging In ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Logging In ,[object Object],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@penguinvm neale]$
Rule Number 1 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Creating a new user ,[object Object],[object Object],[object Object],[root@penguinvm]# useradd scully [root@penguinvm]# passwd scully Changing password for user scully New UNIX password: Retype new UNIX password: passwd: all authentication tokens updated successfully [root@penguinvm]#
Adding a new user ,[object Object],[object Object],[object Object],[object Object]
Users and Groups ,[object Object],[object Object],[object Object],[object Object],uid=500(neale) gid=500(neale) groups=500(neale),3(sys),4(adm)
Users and Groups ,[object Object],[object Object],[object Object],[object Object],neale sys adm
Typical Group Setup
Using the new user ,[object Object],[object Object],Linux 2.2.13 (penguinvm.princeton.edu) (ttyp2) penguinvm login: scully Password: [scully@penguinvm scully]$
You need help? ,[object Object],[object Object],[object Object],[object Object]
The Linux System User commands includes executable programs and scripts The shell interprets user commands. It is responsible for finding the commands and starting their execution. Several different shells are available. Bash is popular, The kernel manages the hardware resources for the rest of the system.
Linux File System Basics ,[object Object],[object Object],[object Object],/ etc home usr passwd inittab neale scully marty a b Directories User home directories Data files root
Naming Files ,[object Object],[object Object],[object Object],[object Object],/ etc home usr passwd inittab neale scully marty a b /etc/passwd /home/neale/b
The Current Directory ,[object Object],[object Object],[object Object],letter doc/letter ./doc/letter /home/neale/doc/letter / etc home usr passwd inittab neale scully marty a doc Current working directory
Some Special File Names ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Special Files ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Linux Command Basics ,[object Object],ls -l /etc Command name Options (flags) Arguments
Standard Files ,[object Object],[object Object],[object Object],[object Object]
Redirecting Output ,[object Object],ls  -l >output “ >” is used to specify the output file
Redirecting Input ,[object Object],wc <input “ <” is used to specify the input file
Connecting commands with Pipes ,[object Object],[object Object],ps  aux |  grep  netscape |  wc  -l The output of the  ps  command is sent to  grep grep  takes input and searches for “netscape” passing these lines to wc wc  takes this input and counts the lines its output going to the console Like CMS Pipes, “|” is used to separate stages
Command Options ,[object Object],[object Object],[object Object],[object Object],[object Object]
Common Commands ,[object Object],[object Object],[object Object],[object Object]
File Commands ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
More Commands ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
More Commands ,[object Object],[object Object],[object Object],[object Object],ar -t libgdbm.a __.SYMDEF dbmopen.o
More Commands ,[object Object],[object Object],[object Object]
More Commands ,[object Object],[object Object]
More Commands ,[object Object],[object Object],In this example, we look for files with an extension “c” (that is, C source files). The filenames we  find are passed to the xargs command which takes these names and constructs a command line  of the form:  grep -i fork  <file.1>…<file.n> .  This command will search the files for the occurrence of the string “fork”. The “ -i ” flag makes the search case insensitve.
More Commands ,[object Object],[object Object],UID  PID  PPID  C STIME TTY  TIME CMD root  6715  6692  2 14:34 ttyp0  00:00:00 sleep 10h root  6716  6692  0 14:34 ttyp0  00:00:00 ps -ef [root@penguinvm log]# kill 6715 [1]+  Terminated  sleep 10h
More Commands ,[object Object],[object Object],[object Object]
More Commands ,[object Object],[object Object],This  find s all files in the current and subsequent directories with an extension of c,v.  sed  then strips the ,v off the results of the find command.  xargs  then uses the results of  sed  and builds a  grep  command which searches for occurrences of the word PATH in the C source files.
More Commands ,[object Object],[object Object],tar -tzf imap-4.7.tar.gz imap-4.7/ imap-4.7/src/ imap-4.7/src/c-client/ imap-4.7/src/c-client/env.h imap-4.7/src/c-client/fs.h
Shells ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Another definition of a Shell ,[object Object],[object Object],[object Object]
Why Do I Care About The Shell? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],#!/bin/bash while true do   cat  somefile > /dev/null   echo  . done /* */ do forever ‘ PIPE < SOME FILE | hole’ say ‘.’ end
Switching Users ,[object Object],[object Object],[object Object],[object Object],[object Object]
Environment Variables ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Environment Variables ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Some Important Environment Variables ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
PATH Environment Variable ,[object Object],[object Object],[object Object],[object Object]
PATH Environment Variable ,[object Object],[object Object],[object Object]
File Permissions ,[object Object],[object Object],[object Object],[object Object],[object Object]
File Permissions ,[object Object],[object Object],[object Object],[object Object],[object Object]
File Permissions ,[object Object],[object Object],[object Object],[object Object]
File Permissions ,[object Object],-rwxrwxr-x  1 rvdheij  rvdheij  5224 Dec 30 03:22 hello -rw-rw-r--  1 rvdheij  rvdheij  221 Dec 30 03:59 hello.c -rw-rw-r--  1 rvdheij  rvdheij  1514 Dec 30 03:59 hello.s drwxrwxr-x  7 rvdheij  rvdheij  1024 Dec 31 14:52 posixuft Permissions Owner Group
Interpreting File Permissions -rwxrwxrwx Other permissions Group permissions Owner permissions Directory flag (d=directory; l=link)
Changing File Permissions ,[object Object],[object Object],chmod 755 file  # Owner=rwx Group=r-x Other=r-x chmod 500 file2 # Owner=r-x Group=--- Other=--- chmod 644 file3 # Owner=rw- Group=r-- Other=r-- chmod +x  file  # Add execute permission to file for all chmod o-r file  # Remove read permission for others chmod a+w file  # Add write permission for everyone
Links? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Editors ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Linux Device Handling ,[object Object],[object Object],/dev/tty x TTY devices /dev/hdb IDE hard drive /dev/hdb1 Partition 1 on the IDE hard drive /dev/mnda VM Minidisk  /dev/dda Channel Attached DASD /dev/dda1 Partition 1 on DASD /dev/null The null device (“hole”) /dev/zero An endless stream of zeroes /dev/mouse Link to mouse (not /390)
Devices and Drivers ,[object Object],[object Object],[object Object],[object Object],brw-r--r--  1 root  root  64,  0 Jun  1  1999 /dev/mnda crw-r--r--  1 root  root  5,  0 Jan  5 09:18 /dev/tty Major no. Minor no. Device Type:  b  - block c  - character
Special Files - /proc ,[object Object],cat /proc/cpuinfo vendor_id  : IBM/S390 # processors  : 1 bogomips per cpu: 86.83 processor 0: version = FF, identification = 045226, machine = 9672
File Systems ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
File Systems ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
File Systems ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Virtual File System ,[object Object],[object Object],[object Object]
Virtual File System ,[object Object],[object Object]
Virtual File System ,[object Object],[object Object],[object Object],[object Object],[object Object]
 
Processes ,[object Object],[object Object],[object Object],[object Object]
Processes ,[object Object],[object Object],[object Object],[object Object]
Processes ,[object Object],[object Object],[object Object],[object Object],UID  PID  PPID  C STIME TTY  TIME CMD root  5  1  0  1999 ?  00:00:14 [kswapd] bin  254  1  0  1999 ?  00:00:00 [portmap] root  307  1  0  1999 ?  00:00:23 syslogd -m 0 root  350  1  0  1999 ?  00:00:34 httpd
Processes [root@penguinvm log]# sleep 10h & [1] 6718 [root@penguinvm log]# ps -ef UID  PID  PPID  C STIME TTY  TIME CMD root  6718  6692  0 14:49 ttyp0  00:00:00 sleep 10h &  causes process to be run in “background” Job Number Process ID (ID) Parent Process ID
Processes - UID & GID ,[object Object],[object Object],[object Object],[object Object]
Processes - UID & GID ,[object Object],[object Object],[object Object],[object Object]
Processes - UID & GID ,[object Object],[object Object],[object Object],[object Object],[object Object]
Processes - Process Groups ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Processes - PID ,[object Object],[object Object],[object Object],[object Object]
Processes - PGID ,[object Object],[object Object],[object Object],[object Object]
Processes - PPID ,[object Object],[object Object],[object Object],[object Object]
Security Guidelines ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Security Guidelines ,[object Object],[object Object],[object Object],[object Object],[object Object]
Security Guidelines ,[object Object],[object Object],[object Object],[object Object],[object Object]
Security Guidelines ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Security - Important Files /etc/passwd - password file /etc/shpasswd - shadow password file /etc/group -lists groups and users contained in groups /etc/services - lists network services and their ports /etc/ftpusers - contains list of accounts that cannot use ftp /etc/hosts.equiv - generic list of remote users ~/.rhosts - list of remote users for a specific account /etc/hosts - host definition list /etc/hosts.lpd - hosts who can use remote printing /etc/hosts.allow - lists services that remote users are allowed to use /etc/hosts.deny - lists services tthat remote users are not allowed to use /etc/nologin - no login message that also disables logins /etc/securetty - lists legal terminals for root to login from /etc/exports - lists locations that can be remotely accessed via NFS /etc/syslog.conf - configures the syslog facility /etc/inetd.conf - configures inetd
Linux/390 Specifics ,[object Object],[object Object],[object Object],[object Object],[object Object]
Linux/390 Specifics ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Linux/390 Specifics ,[object Object],[object Object],[object Object],[object Object],[object Object]
Linux in the Business World Issues and observations
Linux’s place in the market ,[object Object],[object Object],[object Object],[object Object]
Linux’s place in the market ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Linux’s place in the market ,[object Object],[object Object],[object Object],[object Object]
Linux’s place in the market ,[object Object],[object Object],[object Object],[object Object]
Linux’s place in the market ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Linux’s place in the market ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Linux’s place in the market ,[object Object],[object Object],[object Object],[object Object],[object Object]
Linux’s place in the market ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
IBM’s focus on Linux
IBM Software Announcements ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Linux’s place in the market ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Linux Available Commercial Software
Website Development ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Databases ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Data Visualization and CAD ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Development Tools ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Development Tools ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Emulation Tools ,[object Object],[object Object],[object Object]
Financial Software ,[object Object],[object Object]
Libraries ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Mathematics ,[object Object],[object Object],[object Object],[object Object]
Multimedia ,[object Object],[object Object],[object Object],[object Object],[object Object]
Network Servers ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Office Tools ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Text Processing ,[object Object],[object Object]
System Administration ,[object Object],[object Object],[object Object]
X Windows Related ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Other Software ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Additional Resources ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Additional Resources ,[object Object],[object Object],[object Object]

Contenu connexe

Tendances

Introduction to UNIX Command-Lines with examples
Introduction to UNIX Command-Lines with examplesIntroduction to UNIX Command-Lines with examples
Introduction to UNIX Command-Lines with examplesNoé Fernández-Pozo
 
50 most frequently used unix linux commands (with examples)
50 most frequently used unix   linux commands (with examples)50 most frequently used unix   linux commands (with examples)
50 most frequently used unix linux commands (with examples)Rodrigo Maia
 
Unix Basics 04sp
Unix Basics 04spUnix Basics 04sp
Unix Basics 04spDr.Ravi
 
SGN Introduction to UNIX Command-line 2015 part 1
SGN Introduction to UNIX Command-line 2015 part 1SGN Introduction to UNIX Command-line 2015 part 1
SGN Introduction to UNIX Command-line 2015 part 1solgenomics
 
Basic commands
Basic commandsBasic commands
Basic commandsambilivava
 
Unix Command Line Productivity Tips
Unix Command Line Productivity TipsUnix Command Line Productivity Tips
Unix Command Line Productivity TipsKeith Bennett
 
Basic commands of linux
Basic commands of linuxBasic commands of linux
Basic commands of linuxshravan saini
 
Terminal Commands (Linux - ubuntu) (part-1)
Terminal Commands  (Linux - ubuntu) (part-1)Terminal Commands  (Linux - ubuntu) (part-1)
Terminal Commands (Linux - ubuntu) (part-1)raj upadhyay
 
One Page Linux Manual
One Page Linux ManualOne Page Linux Manual
One Page Linux Manualdummy
 
101 4.1 create partitions and filesystems
101 4.1 create partitions and filesystems101 4.1 create partitions and filesystems
101 4.1 create partitions and filesystemsAcácio Oliveira
 
Text mining on the command line - Introduction to linux for bioinformatics
Text mining on the command line - Introduction to linux for bioinformaticsText mining on the command line - Introduction to linux for bioinformatics
Text mining on the command line - Introduction to linux for bioinformaticsBITS
 

Tendances (20)

Introduction to UNIX Command-Lines with examples
Introduction to UNIX Command-Lines with examplesIntroduction to UNIX Command-Lines with examples
Introduction to UNIX Command-Lines with examples
 
50 most frequently used unix linux commands (with examples)
50 most frequently used unix   linux commands (with examples)50 most frequently used unix   linux commands (with examples)
50 most frequently used unix linux commands (with examples)
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Unix Basics 04sp
Unix Basics 04spUnix Basics 04sp
Unix Basics 04sp
 
SGN Introduction to UNIX Command-line 2015 part 1
SGN Introduction to UNIX Command-line 2015 part 1SGN Introduction to UNIX Command-line 2015 part 1
SGN Introduction to UNIX Command-line 2015 part 1
 
Basic commands
Basic commandsBasic commands
Basic commands
 
Unix - Filters/Editors
Unix - Filters/EditorsUnix - Filters/Editors
Unix - Filters/Editors
 
Linux Commands
Linux CommandsLinux Commands
Linux Commands
 
Unix slideshare
Unix slideshareUnix slideshare
Unix slideshare
 
Unix Command Line Productivity Tips
Unix Command Line Productivity TipsUnix Command Line Productivity Tips
Unix Command Line Productivity Tips
 
Basic 50 linus command
Basic 50 linus commandBasic 50 linus command
Basic 50 linus command
 
Linux final exam
Linux final examLinux final exam
Linux final exam
 
Linux commands
Linux commands Linux commands
Linux commands
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Basic commands of linux
Basic commands of linuxBasic commands of linux
Basic commands of linux
 
Terminal Commands (Linux - ubuntu) (part-1)
Terminal Commands  (Linux - ubuntu) (part-1)Terminal Commands  (Linux - ubuntu) (part-1)
Terminal Commands (Linux - ubuntu) (part-1)
 
One Page Linux Manual
One Page Linux ManualOne Page Linux Manual
One Page Linux Manual
 
101 4.1 create partitions and filesystems
101 4.1 create partitions and filesystems101 4.1 create partitions and filesystems
101 4.1 create partitions and filesystems
 
Text mining on the command line - Introduction to linux for bioinformatics
Text mining on the command line - Introduction to linux for bioinformaticsText mining on the command line - Introduction to linux for bioinformatics
Text mining on the command line - Introduction to linux for bioinformatics
 
Unix Basics For Testers
Unix Basics For TestersUnix Basics For Testers
Unix Basics For Testers
 

Similaire à Linux (20)

3. intro
3. intro3. intro
3. intro
 
cisco
ciscocisco
cisco
 
Linux
LinuxLinux
Linux
 
Linux Cheat Sheet.pdf
Linux Cheat Sheet.pdfLinux Cheat Sheet.pdf
Linux Cheat Sheet.pdf
 
Linux week 2
Linux week 2Linux week 2
Linux week 2
 
8.1.intro unix
8.1.intro unix8.1.intro unix
8.1.intro unix
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
 
Tutorial 2
Tutorial 2Tutorial 2
Tutorial 2
 
lec1.docx
lec1.docxlec1.docx
lec1.docx
 
Nithi
NithiNithi
Nithi
 
Linux file commands and shell scripts
Linux file commands and shell scriptsLinux file commands and shell scripts
Linux file commands and shell scripts
 
Linux
LinuxLinux
Linux
 
Unix environment [autosaved]
Unix environment [autosaved]Unix environment [autosaved]
Unix environment [autosaved]
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Karkha unix shell scritping
Karkha unix shell scritpingKarkha unix shell scritping
Karkha unix shell scritping
 
Linux
LinuxLinux
Linux
 
Linux basics part 1
Linux basics part 1Linux basics part 1
Linux basics part 1
 
60761 linux
60761 linux60761 linux
60761 linux
 
Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013
 

Dernier

How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 

Dernier (20)

How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 

Linux

  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 17.
  • 18.
  • 19. The Linux System User commands includes executable programs and scripts The shell interprets user commands. It is responsible for finding the commands and starting their execution. Several different shells are available. Bash is popular, The kernel manages the hardware resources for the rest of the system.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.
  • 48.
  • 49.
  • 50.
  • 51.
  • 52.
  • 53.
  • 54.
  • 55.
  • 56. Interpreting File Permissions -rwxrwxrwx Other permissions Group permissions Owner permissions Directory flag (d=directory; l=link)
  • 57.
  • 58.
  • 59.
  • 60.
  • 61.
  • 62.
  • 63.
  • 64.
  • 65.
  • 66.
  • 67.
  • 68.
  • 69.  
  • 70.
  • 71.
  • 72.
  • 73. Processes [root@penguinvm log]# sleep 10h & [1] 6718 [root@penguinvm log]# ps -ef UID PID PPID C STIME TTY TIME CMD root 6718 6692 0 14:49 ttyp0 00:00:00 sleep 10h & causes process to be run in “background” Job Number Process ID (ID) Parent Process ID
  • 74.
  • 75.
  • 76.
  • 77.
  • 78.
  • 79.
  • 80.
  • 81.
  • 82.
  • 83.
  • 84.
  • 85. Security - Important Files /etc/passwd - password file /etc/shpasswd - shadow password file /etc/group -lists groups and users contained in groups /etc/services - lists network services and their ports /etc/ftpusers - contains list of accounts that cannot use ftp /etc/hosts.equiv - generic list of remote users ~/.rhosts - list of remote users for a specific account /etc/hosts - host definition list /etc/hosts.lpd - hosts who can use remote printing /etc/hosts.allow - lists services that remote users are allowed to use /etc/hosts.deny - lists services tthat remote users are not allowed to use /etc/nologin - no login message that also disables logins /etc/securetty - lists legal terminals for root to login from /etc/exports - lists locations that can be remotely accessed via NFS /etc/syslog.conf - configures the syslog facility /etc/inetd.conf - configures inetd
  • 86.
  • 87.
  • 88.
  • 89. Linux in the Business World Issues and observations
  • 90.
  • 91.
  • 92.
  • 93.
  • 94.
  • 95.
  • 96.
  • 97.
  • 99.
  • 100.
  • 102.
  • 103.
  • 104.
  • 105.
  • 106.
  • 107.
  • 108.
  • 109.
  • 110.
  • 111.
  • 112.
  • 113.
  • 114.
  • 115.
  • 116.
  • 117.
  • 118.
  • 119.