Upload
nancy-thomas
View
297
Download
6
Embed Size (px)
Citation preview
The UNIX Shell The BourneKorn & C Shells UNIX Shell ScriptsReviewCommands, lsRedirection, Pipes, Find, Grep, Sort
Introduction
Invoking a ShellCommand line expansionCommand ArgumentsMeta-charactersQuotation marksRedirection
UNIX Shell Features
File descriptorsHere documents, Redirection, Pipes, TeeDefining Exporting and Environment
variablesCommand groupingConditional execution
UNIX Shell Features
Positional and Automatic Parameters SetReading inputWriting to standard outputDisplay attributesInteractive Shell scripts
Basic Shell Scripts
If statementWhile statementCase statementTest commandFor statementBreak statement
Bourne & Korn Shell Programming
Continue statementTests on numeric valuesString comparisonsCommand exit statusLogical operatorsError handlingArithmetic
Bourne & Korn Shell Programming
ExtensionsCommand substitutionArithmetic expressionsValid arithmetic operatorsVariable attributesTypeset, Built-in variablesSelect command
Korn Shell Extensions
L/O/G/O
Thank You!