SlideShare a Scribd company logo
Shell programming in ubuntu
Disclaimer: This presentation is prepared by trainees of
baabtra as a part of mentoring program. This is not official
document of baabtra –Mentoring Partner
Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt .
Ltd
Shell Programming in
Ubuntu
●
Mohammed Jawad N V
●
jawadmayan@gmail.com
●
www.facebook.com/username
●
twitter.com/username
●
in.linkedin.com/in/profilename
●
8590332199
SHELL PROGRAMMING IN UBUNTU
● Shell is a program that takes commands from the keyboard
and gives them to the operating system to perform
● Bash (Bourne Again Shell)
● TERMINAL: Program that opens a window and lets you
interact with the shell
● There are two primary ways to use the shell: interactivelyinteractively
and by writing shell scripts.
● In the interactive mode, the user types a single command
and the result is printed out
COMMANDS
● Pwd - (print working directory)
● cd - (change directory)
● ls - (list files and directories).
● less (view text files)
● cp - copy files and directories
● mv - move or rename files and directories
● rm - remove files and directories
● mkdir - create directories
● type - Display information about command type
● help - Display reference page for shell builtin
● man - Display an on-line command reference
● chmod - modify file access rights
● su - temporarily become the superuser
● sudo - temporarily become the superuser
● Echo- command to display text or value of variable.
SHELL SCRIPTING
● a shell script is a file containing a series of commands.
● To be executable, a shell script file must meet some conditions:
● The file must have a special first line that names an appropriate
command processor
#!/bin/bash
● The file must be made executable by changing its permission bits. An
example:
$ chmod +x (shell script filename)
● In shell scripting, the user types anything from a few lines to an entire
program into a text editor, then executes the resulting text file as a shell
script.
Shell programming in ubuntu
Shell programming in ubuntu
Shell programming in ubuntu
Shell programming in ubuntu
If this presentation helped you, please visit our
page facebook.com/baabtra and like it.
Thanks in advance.
www.baabtra.com | www.massbaab.com |
www.baabte.com
Contact Us

More Related Content

What's hot (20)

PPTX
Operating system components
Syed Zaid Irshad
 
PPTX
Database Administration
Bilal Arshad
 
PPTX
Deadlock ppt
Sweetestangel Kochar
 
PDF
operating system structure
Waseem Ud Din Farooqui
 
PPT
Basic MIPS implementation
kavitha2009
 
PPTX
Uniform Resource Locator (URL)
Mary Daine Napuli
 
PPTX
Presentation on web browser
Swasat Dutta
 
PPTX
software cost factor
Abinaya B
 
PPT
Device management
AyushiDubey19
 
PPT
RichControl in Asp.net
Bhumivaghasiya
 
PPTX
Chapter-1 Introduction to Database Management Systems
Kunal Anand
 
PPTX
File sharing ppt
Jes Lubiano
 
PPT
Computer Organization and Assembly Language
fasihuddin90
 
PPTX
What is Rapid Application Development
OutSystems
 
PDF
HCI U-II HCI software Process (1).pdf
udhayaveenaa
 
PPTX
Software Coding for software engineering
ssuserb3a23b
 
PDF
OS Memory Management
anand hd
 
PPTX
Spiral Model in Software Engineering with Case Study
Sahil Bansal
 
PPTX
Error Detection & Recovery
Akhil Kaushik
 
PPTX
SDLC Models
akash250690
 
Operating system components
Syed Zaid Irshad
 
Database Administration
Bilal Arshad
 
Deadlock ppt
Sweetestangel Kochar
 
operating system structure
Waseem Ud Din Farooqui
 
Basic MIPS implementation
kavitha2009
 
Uniform Resource Locator (URL)
Mary Daine Napuli
 
Presentation on web browser
Swasat Dutta
 
software cost factor
Abinaya B
 
Device management
AyushiDubey19
 
RichControl in Asp.net
Bhumivaghasiya
 
Chapter-1 Introduction to Database Management Systems
Kunal Anand
 
File sharing ppt
Jes Lubiano
 
Computer Organization and Assembly Language
fasihuddin90
 
What is Rapid Application Development
OutSystems
 
HCI U-II HCI software Process (1).pdf
udhayaveenaa
 
Software Coding for software engineering
ssuserb3a23b
 
OS Memory Management
anand hd
 
Spiral Model in Software Engineering with Case Study
Sahil Bansal
 
Error Detection & Recovery
Akhil Kaushik
 
SDLC Models
akash250690
 

Similar to Shell programming in ubuntu (20)

ODP
Introduction to Shell script
Bhavesh Padharia
 
PPT
Bash shell
xylas121
 
PPTX
Shell scrpting(payal harne)
PayalHarne
 
PDF
Shell tutorial
Vu Duy Tu
 
PDF
3.1.d manual bash script guide lsstv 2.0r11
Acácio Oliveira
 
PPTX
Licão 02 shell basics bash intro
Acácio Oliveira
 
PDF
Shell Scripting crash course.pdf
harikrishnapolaki
 
PDF
Course 102: Lecture 10: Learning About the Shell
Ahmed El-Arabawy
 
PDF
Shell Script Linux
Wellington Oliveira
 
PPTX
Shell & Shell Script
Amit Ghosh
 
PPTX
Shell & Shell Script
Amit Ghosh
 
PPTX
Licão 05 scripts exemple
Acácio Oliveira
 
PPT
Shell Scripting in Linux
Anu Chaudhry
 
PDF
Shell scripting1232232312312312312312312
adnansalam11
 
PDF
Shell-Scripting-1.pdf
aznabi
 
PDF
Bash shell programming in linux
Norberto Angulo
 
PDF
BASH Shell Script Training in Noida- Rexton It Solution
CCNA Training Institute In Noida Rextion IT Solutions
 
PPTX
Bash shell scripting
VIKAS TIWARI
 
PPT
Spsl by sasidhar 3 unit
Sasidhar Kothuru
 
Introduction to Shell script
Bhavesh Padharia
 
Bash shell
xylas121
 
Shell scrpting(payal harne)
PayalHarne
 
Shell tutorial
Vu Duy Tu
 
3.1.d manual bash script guide lsstv 2.0r11
Acácio Oliveira
 
Licão 02 shell basics bash intro
Acácio Oliveira
 
Shell Scripting crash course.pdf
harikrishnapolaki
 
Course 102: Lecture 10: Learning About the Shell
Ahmed El-Arabawy
 
Shell Script Linux
Wellington Oliveira
 
Shell & Shell Script
Amit Ghosh
 
Shell & Shell Script
Amit Ghosh
 
Licão 05 scripts exemple
Acácio Oliveira
 
Shell Scripting in Linux
Anu Chaudhry
 
Shell scripting1232232312312312312312312
adnansalam11
 
Shell-Scripting-1.pdf
aznabi
 
Bash shell programming in linux
Norberto Angulo
 
BASH Shell Script Training in Noida- Rexton It Solution
CCNA Training Institute In Noida Rextion IT Solutions
 
Bash shell scripting
VIKAS TIWARI
 
Spsl by sasidhar 3 unit
Sasidhar Kothuru
 
Ad

More from baabtra.com - No. 1 supplier of quality freshers (20)

PPTX
Agile methodology and scrum development
baabtra.com - No. 1 supplier of quality freshers
 
PDF
Acquiring new skills what you should know
baabtra.com - No. 1 supplier of quality freshers
 
PDF
Baabtra.com programming at school
baabtra.com - No. 1 supplier of quality freshers
 
PDF
99LMS for Enterprises - LMS that you will love
baabtra.com - No. 1 supplier of quality freshers
 
PPTX
Chapter 6 database normalisation
baabtra.com - No. 1 supplier of quality freshers
 
PPTX
Chapter 5 transactions and dcl statements
baabtra.com - No. 1 supplier of quality freshers
 
PPTX
Chapter 4 functions, views, indexing
baabtra.com - No. 1 supplier of quality freshers
 
PPTX
Chapter 3 stored procedures
baabtra.com - No. 1 supplier of quality freshers
 
PPTX
Chapter 2 grouping,scalar and aggergate functions,joins inner join,outer join
baabtra.com - No. 1 supplier of quality freshers
 
PPTX
Chapter 1 introduction to sql server
baabtra.com - No. 1 supplier of quality freshers
 
PPTX
Chapter 1 introduction to sql server
baabtra.com - No. 1 supplier of quality freshers
 
Agile methodology and scrum development
baabtra.com - No. 1 supplier of quality freshers
 
Acquiring new skills what you should know
baabtra.com - No. 1 supplier of quality freshers
 
Baabtra.com programming at school
baabtra.com - No. 1 supplier of quality freshers
 
99LMS for Enterprises - LMS that you will love
baabtra.com - No. 1 supplier of quality freshers
 
Chapter 6 database normalisation
baabtra.com - No. 1 supplier of quality freshers
 
Chapter 5 transactions and dcl statements
baabtra.com - No. 1 supplier of quality freshers
 
Chapter 4 functions, views, indexing
baabtra.com - No. 1 supplier of quality freshers
 
Chapter 2 grouping,scalar and aggergate functions,joins inner join,outer join
baabtra.com - No. 1 supplier of quality freshers
 
Chapter 1 introduction to sql server
baabtra.com - No. 1 supplier of quality freshers
 
Chapter 1 introduction to sql server
baabtra.com - No. 1 supplier of quality freshers
 
Ad

Recently uploaded (20)

PPTX
Difference between write and update in odoo 18
Celine George
 
PPTX
Post Dated Cheque(PDC) Management in Odoo 18
Celine George
 
PPTX
Introduction to Indian Writing in English
Trushali Dodiya
 
PDF
AI-Powered-Visual-Storytelling-for-Nonprofits.pdf
TechSoup
 
PDF
Governor Josh Stein letter to NC delegation of U.S. House
Mebane Rash
 
PDF
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
PDF
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
PDF
Vani - The Voice of Excellence - Jul 2025 issue
Savipriya Raghavendra
 
PPTX
Light Reflection and Refraction- Activities - Class X Science
SONU ACADEMY
 
PDF
Week 2 - Irish Natural Heritage Powerpoint.pdf
swainealan
 
PPTX
SD_GMRC5_Session 6AB_Dulog Pedagohikal at Pagtataya (1).pptx
NickeyArguelles
 
PDF
epi editorial commitee meeting presentation
MIPLM
 
PPTX
Introduction to Biochemistry & Cellular Foundations.pptx
marvinnbustamante1
 
PPTX
Controller Request and Response in Odoo18
Celine George
 
PPTX
ENG8_Q1_WEEK2_LESSON1. Presentation pptx
marawehsvinetshe
 
PPT
Indian Contract Act 1872, Business Law #MBA #BBA #BCOM
priyasinghy107
 
PPTX
PPT-Q1-WK-3-ENGLISH Revised Matatag Grade 3.pptx
reijhongidayawan02
 
PDF
Is Assignment Help Legal in Australia_.pdf
thomas19williams83
 
PPTX
HUMAN RESOURCE MANAGEMENT: RECRUITMENT, SELECTION, PLACEMENT, DEPLOYMENT, TRA...
PRADEEP ABOTHU
 
PDF
STATEMENT-BY-THE-HON.-MINISTER-FOR-HEALTH-ON-THE-COVID-19-OUTBREAK-AT-UG_revi...
nservice241
 
Difference between write and update in odoo 18
Celine George
 
Post Dated Cheque(PDC) Management in Odoo 18
Celine George
 
Introduction to Indian Writing in English
Trushali Dodiya
 
AI-Powered-Visual-Storytelling-for-Nonprofits.pdf
TechSoup
 
Governor Josh Stein letter to NC delegation of U.S. House
Mebane Rash
 
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
Vani - The Voice of Excellence - Jul 2025 issue
Savipriya Raghavendra
 
Light Reflection and Refraction- Activities - Class X Science
SONU ACADEMY
 
Week 2 - Irish Natural Heritage Powerpoint.pdf
swainealan
 
SD_GMRC5_Session 6AB_Dulog Pedagohikal at Pagtataya (1).pptx
NickeyArguelles
 
epi editorial commitee meeting presentation
MIPLM
 
Introduction to Biochemistry & Cellular Foundations.pptx
marvinnbustamante1
 
Controller Request and Response in Odoo18
Celine George
 
ENG8_Q1_WEEK2_LESSON1. Presentation pptx
marawehsvinetshe
 
Indian Contract Act 1872, Business Law #MBA #BBA #BCOM
priyasinghy107
 
PPT-Q1-WK-3-ENGLISH Revised Matatag Grade 3.pptx
reijhongidayawan02
 
Is Assignment Help Legal in Australia_.pdf
thomas19williams83
 
HUMAN RESOURCE MANAGEMENT: RECRUITMENT, SELECTION, PLACEMENT, DEPLOYMENT, TRA...
PRADEEP ABOTHU
 
STATEMENT-BY-THE-HON.-MINISTER-FOR-HEALTH-ON-THE-COVID-19-OUTBREAK-AT-UG_revi...
nservice241
 

Shell programming in ubuntu

  • 2. Disclaimer: This presentation is prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring Partner Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
  • 3. Shell Programming in Ubuntu ● Mohammed Jawad N V ● [email protected] ● www.facebook.com/username ● twitter.com/username ● in.linkedin.com/in/profilename ● 8590332199
  • 4. SHELL PROGRAMMING IN UBUNTU ● Shell is a program that takes commands from the keyboard and gives them to the operating system to perform ● Bash (Bourne Again Shell) ● TERMINAL: Program that opens a window and lets you interact with the shell ● There are two primary ways to use the shell: interactivelyinteractively and by writing shell scripts. ● In the interactive mode, the user types a single command and the result is printed out
  • 5. COMMANDS ● Pwd - (print working directory) ● cd - (change directory) ● ls - (list files and directories). ● less (view text files) ● cp - copy files and directories ● mv - move or rename files and directories ● rm - remove files and directories ● mkdir - create directories
  • 6. ● type - Display information about command type ● help - Display reference page for shell builtin ● man - Display an on-line command reference ● chmod - modify file access rights ● su - temporarily become the superuser ● sudo - temporarily become the superuser ● Echo- command to display text or value of variable.
  • 7. SHELL SCRIPTING ● a shell script is a file containing a series of commands. ● To be executable, a shell script file must meet some conditions: ● The file must have a special first line that names an appropriate command processor #!/bin/bash ● The file must be made executable by changing its permission bits. An example: $ chmod +x (shell script filename) ● In shell scripting, the user types anything from a few lines to an entire program into a text editor, then executes the resulting text file as a shell script.
  • 12. If this presentation helped you, please visit our page facebook.com/baabtra and like it. Thanks in advance. www.baabtra.com | www.massbaab.com | www.baabte.com