SlideShare uma empresa Scribd logo
1 de 10
Lecture 4<br />ShellUserUNIX shells:<br />HWWhy it is called shell??<br />,[object Object]
Command Line interface
Function:
Interpreter                            ls  *      ls   f1    f2     f3     common in all shells
Shell scripts (programs)       differ in syntax from one shell and another
Features               <br />,[object Object]
Auto CompletionBash    tab<br />Kshesc    you must be in vi mode <br />esc =    all occurance<br />,[object Object]
Default action of the commandCommand takes the standard input from the keyboard and sends the standard output to the terminal window.<br />You can modify the default action of the standard input, standard output, and standard error within the shell by redirecting stdin, stdout, and stderr.<br />,[object Object]
Input redirection:

Mais conteúdo relacionado

Mais procurados

system management -shell programming by gaurav raikar
system management -shell programming by gaurav raikarsystem management -shell programming by gaurav raikar
system management -shell programming by gaurav raikarGauravRaikar3
 
Unit 10 investigating and managing
Unit 10 investigating and managingUnit 10 investigating and managing
Unit 10 investigating and managingroot_fibo
 
Pipes and filters
Pipes and filtersPipes and filters
Pipes and filtersbhatvijetha
 
Unix Shell Scripting Basics
Unix Shell Scripting BasicsUnix Shell Scripting Basics
Unix Shell Scripting BasicsDr.Ravi
 
[PDF] 2021 Termux basic commands list
[PDF] 2021 Termux basic commands list [PDF] 2021 Termux basic commands list
[PDF] 2021 Termux basic commands list nisivaasdfghj
 
Quick start bash script
Quick start   bash scriptQuick start   bash script
Quick start bash scriptSimon Su
 
Unix And Shell Scripting
Unix And Shell ScriptingUnix And Shell Scripting
Unix And Shell ScriptingJaibeer Malik
 
Introduction to shell scripting
Introduction to shell scriptingIntroduction to shell scripting
Introduction to shell scriptingCorrado Santoro
 
Linux directory commands:more options on cd and ls command
Linux directory commands:more options on cd and ls commandLinux directory commands:more options on cd and ls command
Linux directory commands:more options on cd and ls commandbhatvijetha
 
Linux Shortcuts and Commands:
Linux Shortcuts and Commands:Linux Shortcuts and Commands:
Linux Shortcuts and Commands:wensheng wei
 
Using Unix
Using UnixUsing Unix
Using UnixDr.Ravi
 
Termux commands-list
Termux commands-listTermux commands-list
Termux commands-listDhanushR24
 
Perl one-liners
Perl one-linersPerl one-liners
Perl one-linersdaoswald
 
Shell programming 1.ppt
Shell programming  1.pptShell programming  1.ppt
Shell programming 1.pptKalkey
 
Introduction to Bash Scripting, Zyxware Technologies, CSI Students Convention...
Introduction to Bash Scripting, Zyxware Technologies, CSI Students Convention...Introduction to Bash Scripting, Zyxware Technologies, CSI Students Convention...
Introduction to Bash Scripting, Zyxware Technologies, CSI Students Convention...Zyxware Technologies
 
Unix And C
Unix And CUnix And C
Unix And CDr.Ravi
 
Unix Shell Scripting Basics
Unix Shell Scripting BasicsUnix Shell Scripting Basics
Unix Shell Scripting BasicsSudharsan S
 

Mais procurados (20)

Unix - Shell Scripts
Unix - Shell ScriptsUnix - Shell Scripts
Unix - Shell Scripts
 
system management -shell programming by gaurav raikar
system management -shell programming by gaurav raikarsystem management -shell programming by gaurav raikar
system management -shell programming by gaurav raikar
 
Unit 10 investigating and managing
Unit 10 investigating and managingUnit 10 investigating and managing
Unit 10 investigating and managing
 
Pipes and filters
Pipes and filtersPipes and filters
Pipes and filters
 
Unix Shell Scripting Basics
Unix Shell Scripting BasicsUnix Shell Scripting Basics
Unix Shell Scripting Basics
 
[PDF] 2021 Termux basic commands list
[PDF] 2021 Termux basic commands list [PDF] 2021 Termux basic commands list
[PDF] 2021 Termux basic commands list
 
Quick start bash script
Quick start   bash scriptQuick start   bash script
Quick start bash script
 
Shell scripting
Shell scriptingShell scripting
Shell scripting
 
Unix And Shell Scripting
Unix And Shell ScriptingUnix And Shell Scripting
Unix And Shell Scripting
 
Introduction to shell scripting
Introduction to shell scriptingIntroduction to shell scripting
Introduction to shell scripting
 
Basics of shell programming
Basics of shell programmingBasics of shell programming
Basics of shell programming
 
Linux directory commands:more options on cd and ls command
Linux directory commands:more options on cd and ls commandLinux directory commands:more options on cd and ls command
Linux directory commands:more options on cd and ls command
 
Linux Shortcuts and Commands:
Linux Shortcuts and Commands:Linux Shortcuts and Commands:
Linux Shortcuts and Commands:
 
Using Unix
Using UnixUsing Unix
Using Unix
 
Termux commands-list
Termux commands-listTermux commands-list
Termux commands-list
 
Perl one-liners
Perl one-linersPerl one-liners
Perl one-liners
 
Shell programming 1.ppt
Shell programming  1.pptShell programming  1.ppt
Shell programming 1.ppt
 
Introduction to Bash Scripting, Zyxware Technologies, CSI Students Convention...
Introduction to Bash Scripting, Zyxware Technologies, CSI Students Convention...Introduction to Bash Scripting, Zyxware Technologies, CSI Students Convention...
Introduction to Bash Scripting, Zyxware Technologies, CSI Students Convention...
 
Unix And C
Unix And CUnix And C
Unix And C
 
Unix Shell Scripting Basics
Unix Shell Scripting BasicsUnix Shell Scripting Basics
Unix Shell Scripting Basics
 

Destaque (6)

lec1.docx
lec1.docxlec1.docx
lec1.docx
 
lec2.docx
lec2.docxlec2.docx
lec2.docx
 
Call+for+Papers+2011.pdf
Call+for+Papers+2011.pdfCall+for+Papers+2011.pdf
Call+for+Papers+2011.pdf
 
fatma.docx
fatma.docxfatma.docx
fatma.docx
 
lec5+.docx
lec5+.docxlec5+.docx
lec5+.docx
 
d.docx
d.docxd.docx
d.docx
 

Semelhante a lec4.docx

Semelhante a lec4.docx (20)

Shell Scripting
Shell ScriptingShell Scripting
Shell Scripting
 
Course 102: Lecture 8: Composite Commands
Course 102: Lecture 8: Composite Commands Course 102: Lecture 8: Composite Commands
Course 102: Lecture 8: Composite Commands
 
OverviewIn this assignment you will write your own shell i.docx
OverviewIn this assignment you will write your own shell i.docxOverviewIn this assignment you will write your own shell i.docx
OverviewIn this assignment you will write your own shell i.docx
 
Bioinformatica 29-09-2011-p1-introduction
Bioinformatica 29-09-2011-p1-introductionBioinformatica 29-09-2011-p1-introduction
Bioinformatica 29-09-2011-p1-introduction
 
Linux
LinuxLinux
Linux
 
50 Most Frequently Used UNIX Linux Commands -hmftj
50 Most Frequently Used UNIX  Linux Commands -hmftj50 Most Frequently Used UNIX  Linux Commands -hmftj
50 Most Frequently Used UNIX Linux Commands -hmftj
 
101 3.4 use streams, pipes and redirects
101 3.4 use streams, pipes and redirects101 3.4 use streams, pipes and redirects
101 3.4 use streams, pipes and redirects
 
IntroCommandLine.ppt
IntroCommandLine.pptIntroCommandLine.ppt
IntroCommandLine.ppt
 
IntroCommandLine.ppt
IntroCommandLine.pptIntroCommandLine.ppt
IntroCommandLine.ppt
 
Linux And perl
Linux And perlLinux And perl
Linux And perl
 
NYPHP March 2009 Presentation
NYPHP March 2009 PresentationNYPHP March 2009 Presentation
NYPHP March 2009 Presentation
 
Ultimate Unix Meetup Presentation
Ultimate Unix Meetup PresentationUltimate Unix Meetup Presentation
Ultimate Unix Meetup Presentation
 
Part 5 of "Introduction to Linux for Bioinformatics": Working the command lin...
Part 5 of "Introduction to Linux for Bioinformatics": Working the command lin...Part 5 of "Introduction to Linux for Bioinformatics": Working the command lin...
Part 5 of "Introduction to Linux for Bioinformatics": Working the command lin...
 
Linux
LinuxLinux
Linux
 
Linux
LinuxLinux
Linux
 
Linux
LinuxLinux
Linux
 
Linux
LinuxLinux
Linux
 
Linux
LinuxLinux
Linux
 
RHCSA EX200 - Summary
RHCSA EX200 - SummaryRHCSA EX200 - Summary
RHCSA EX200 - Summary
 
50 most frequently used unix
50 most frequently used unix50 most frequently used unix
50 most frequently used unix
 

Mais de ismailaboshatra (19)

d.docx
d.docxd.docx
d.docx
 
d.docx
d.docxd.docx
d.docx
 
d.docx
d.docxd.docx
d.docx
 
d.docx
d.docxd.docx
d.docx
 
d.docx
d.docxd.docx
d.docx
 
d.docx
d.docxd.docx
d.docx
 
d.docx
d.docxd.docx
d.docx
 
dt.docx
dt.docxdt.docx
dt.docx
 
dt.docx
dt.docxdt.docx
dt.docx
 
dt.docx
dt.docxdt.docx
dt.docx
 
Answers+of+C+sample+exam.docx
Answers+of+C+sample+exam.docxAnswers+of+C+sample+exam.docx
Answers+of+C+sample+exam.docx
 
Answers+of+C+sample+exam.docx
Answers+of+C+sample+exam.docxAnswers+of+C+sample+exam.docx
Answers+of+C+sample+exam.docx
 
QM17025+Rev0.1-05May2011.doc
QM17025+Rev0.1-05May2011.docQM17025+Rev0.1-05May2011.doc
QM17025+Rev0.1-05May2011.doc
 
unix-OS-Lab-4.doc
unix-OS-Lab-4.docunix-OS-Lab-4.doc
unix-OS-Lab-4.doc
 
salesorder_example_normalization.doc
salesorder_example_normalization.docsalesorder_example_normalization.doc
salesorder_example_normalization.doc
 
Lecture5-SQL.docx
Lecture5-SQL.docxLecture5-SQL.docx
Lecture5-SQL.docx
 
ER_LAB_Solution_30.doc
ER_LAB_Solution_30.docER_LAB_Solution_30.doc
ER_LAB_Solution_30.doc
 
amanttttt.pptx
amanttttt.pptxamanttttt.pptx
amanttttt.pptx
 
chat+with+dr+14-3.docx
chat+with+dr+14-3.docxchat+with+dr+14-3.docx
chat+with+dr+14-3.docx
 

lec4.docx