Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
19 views
POSIX Shell Command Language
Uploaded by
Господь Бог
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download now
Download
Save POSIX Shell Command Language For Later
Download
Save
Save POSIX Shell Command Language For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
19 views
POSIX Shell Command Language
Uploaded by
Господь Бог
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download now
Download
Save POSIX Shell Command Language For Later
Carousel Previous
Carousel Next
Save
Save POSIX Shell Command Language For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 2
Search
Fullscreen
POSIX-2017
Shell & Utilities
Shell Command Language
FC LFLAGS OPTARG TMPDIR
1. Shell Introduction
FCEDIT LINENO OPTERR TZ
2. Quoting FFLAGS LINES OPTIND USER
| & ; < > ( ) $ ` \ " ' <space> <tab> <newline> GET LISTER PAGER VISUAL
* ? [ # ˜ = %
1. Escape Character (Backslash) GFLAGS LOGNAME PATH YACC
2. Single-Quotes HISTFILE LPDEST PPID YFLAGS
3. Double-Quotes
HISTORY MAIL PRINTER
3. Token Recognition HISTSIZE MAILCHECK PROCLANG
1. Alias Substitution HOME MAILER PROJECTDIR
4. Reserved Words
6. Word Expansions
! do esac in 1. Tilde Expansion
{ done fi then 2. Parameter Expansion
} elif for until ${parameter}
case else if while ${parameter:-[word]}
${parameter:=[word]}
5. Parameters and Variables ${parameter:?[word]}
1. Positional Parameters ${parameter:+[word]}
2. Special Parameters ${#parameter}
3. Shell Variables ${parameter%[word]}
${parameter%%[word]}
XBD Environment Variables ${parameter#[word]}
${parameter##[word]}
ARFLAGS IFS MAILPATH PS1 3. Command Substitution
$(command)
CC LANG MAILRC PS2 4. Arithmetic Expansion
CDPATH LC_ALL MAKEFLAGS PS3 $((expression))
5. Field Splitting
CFLAGS LC_COLLATE MAKESHELL PS4 6. Pathname Expansion
CHARSET LC_CTYPE MANPATH PWD 7. Quote Removal
COLUMNS LC_MESSAGES MBOX RANDOM
7. Redirection
DATEMSK LC_MONETARY MORE SECONDS [n]redir-op word
DEAD LC_NUMERIC MSGVERB SHELL 1. Redirecting Input
2. Redirecting Output
EDITOR LC_TIME NLSPATH TERM 3. Appending Redirected Output
ENV LDFLAGS NPROC TERMCAP 4. Here-Document
EXINIT LEX OLDPWD TERMINFO 5. Duplicating an Input File Descriptor
6. Duplicating an Output File Descriptor until compound-list-1
7. Open File Descriptors for Reading and Writing do
compound-list-2
8. Exit Status and Errors done
1. Consequences of Shell Errors
2. Exit Status for Commands 5. Function Definition Command
fname ( ) compound-command [io-redirect ...]
9. Shell Commands
1. Simple Commands 10. Shell Grammar
2. Pipelines 1. Shell Grammar Lexical Conventions
[!] command1 [ | command2 ...] 2. Shell Grammar Rules
3. Lists 11. Signals and Error Handling
command1 & [command2 & ... ]
command1 [; command2] ... 12. Shell Execution Environment
command1 [ && command2] ...
command1 [ || command2] ... 13. Pattern Matching Notation
1. Patterns Matching a Single Character
4. Compound Commands 2. Patterns Matching Multiple Characters
( compound-list ) 3. Patterns Used for Filename Expansion
{ compound-list ; }
14. Special Built-In Utilities
for name [ in [word ... ]] • break - exit from for, while, or until loop
do • colon - null utility
compound-list • continue - continue for, while, or until loop
done • dot - execute commands in the current environment
• eval - construct command by concatenating arguments
case word in
[(] pattern1 ) compound-list ;; • exec - execute commands and open, close, or copy file
[[(] pattern[ | pattern] ... ) compound-list ;;] descriptors
[[(] pattern[ | pattern] ... ) compound-list] • exit - cause the shell to exit
esac • export - set the export attribute for variables
• readonly - set the readonly attribute for variables
• return - return from a function or dot script
if compound-list • set - set or unset options and positional parameters
then • shift - shift positional parameters
compound-list
[elif compound-list • times - write process times
then • trap - trap signals
compound-list] ... • unset - unset values and attributes of variables and
[else functions
compound-list]
fi
while compound-list-1
do
compound-list-2
done
You might also like
Mallikarjun Ramadurg Mallik034: Follow Me by Search Mallik034 at Youtube / FB / Linkedin / Twitter / Blogspot / Instagram
PDF
No ratings yet
Mallikarjun Ramadurg Mallik034: Follow Me by Search Mallik034 at Youtube / FB / Linkedin / Twitter / Blogspot / Instagram
14 pages
Lisp Interpreter in Rust
From Everand
Lisp Interpreter in Rust
Vishal Patil
1/5 (1)
Kochan, Stephen G. & Patrick Wood. 2017. Shell Programming in Unix, Linux and OS X
PDF
100% (1)
Kochan, Stephen G. & Patrick Wood. 2017. Shell Programming in Unix, Linux and OS X
397 pages
Windows Command Prompt A-N
From Everand
Windows Command Prompt A-N
Prometheus MMS
5/5 (2)
DB2 Stored Procedure Introduction
PDF
No ratings yet
DB2 Stored Procedure Introduction
11 pages
Run A Macro From A Drop Down List (VBA)
PDF
No ratings yet
Run A Macro From A Drop Down List (VBA)
27 pages
Ebooks File Shell Programming in Unix Linux and OS X Stephen G. Kochan All Chapters
PDF
100% (4)
Ebooks File Shell Programming in Unix Linux and OS X Stephen G. Kochan All Chapters
62 pages
UNIX Shell Scripting Basics
PDF
No ratings yet
UNIX Shell Scripting Basics
200 pages
bash_ref_compressed
PDF
No ratings yet
bash_ref_compressed
2 pages
Bourn Shell Ref
PDF
No ratings yet
Bourn Shell Ref
2 pages
Last Time : On The Website
PDF
No ratings yet
Last Time : On The Website
63 pages
Unit+3 Linux
PDF
No ratings yet
Unit+3 Linux
91 pages
Advance Shell Scripting Training
PDF
No ratings yet
Advance Shell Scripting Training
129 pages
Shell Scripts Language
PDF
No ratings yet
Shell Scripts Language
63 pages
UNIX Operating Systems II Part 2: Shell Scripting: Instructor: Stan Isaacs
PDF
No ratings yet
UNIX Operating Systems II Part 2: Shell Scripting: Instructor: Stan Isaacs
30 pages
Bash Scripting Session - 2
PDF
No ratings yet
Bash Scripting Session - 2
52 pages
Day1.5 ShellProgramming
PDF
No ratings yet
Day1.5 ShellProgramming
39 pages
24773
PDF
No ratings yet
24773
55 pages
Unix - Shell Scripting
PDF
100% (1)
Unix - Shell Scripting
96 pages
Linux Notes Module 3
PDF
No ratings yet
Linux Notes Module 3
16 pages
The UNIX Shells (Bourne Shell, Korn Shell, C Shell)
PDF
No ratings yet
The UNIX Shells (Bourne Shell, Korn Shell, C Shell)
61 pages
UNIX Shells by Example (PDFDrive)
PDF
No ratings yet
UNIX Shells by Example (PDFDrive)
1,194 pages
Bash Oscon 2014
PDF
No ratings yet
Bash Oscon 2014
32 pages
Imp Shell Prog
PDF
No ratings yet
Imp Shell Prog
6 pages
Bourne Shell Programming An Introduction
PDF
No ratings yet
Bourne Shell Programming An Introduction
30 pages
CSE325 OS Laboratory Manual
PDF
No ratings yet
CSE325 OS Laboratory Manual
36 pages
Bash
PDF
No ratings yet
Bash
42 pages
Part 1 Linux Chapter 5 Shell Programming
PDF
No ratings yet
Part 1 Linux Chapter 5 Shell Programming
25 pages
UNIX_20Shell_20Scripting_20V1.0
PDF
No ratings yet
UNIX_20Shell_20Scripting_20V1.0
178 pages
UNIX Cmds& Programming
PDF
No ratings yet
UNIX Cmds& Programming
54 pages
BASH
PDF
No ratings yet
BASH
8 pages
Unit 2
PDF
No ratings yet
Unit 2
74 pages
FALLSEM2019-20 CSE2005 ELA VL2019201002569 Reference Material I 25-Jul-2019 Shell Programming
PDF
No ratings yet
FALLSEM2019-20 CSE2005 ELA VL2019201002569 Reference Material I 25-Jul-2019 Shell Programming
27 pages
CSE325 OS Laboratory Manual
PDF
No ratings yet
CSE325 OS Laboratory Manual
45 pages
Shell Scripting
PDF
No ratings yet
Shell Scripting
35 pages
Prepared by - , Deptt of Information Technology Assam University Silchar
PDF
No ratings yet
Prepared by - , Deptt of Information Technology Assam University Silchar
29 pages
Bash Shell 1.0
PDF
No ratings yet
Bash Shell 1.0
75 pages
DocScanner 01-Sep-2022 9-58 Am PDF
PDF
No ratings yet
DocScanner 01-Sep-2022 9-58 Am PDF
29 pages
IT Basics - LN01 - Shell and System Programs
PDF
No ratings yet
IT Basics - LN01 - Shell and System Programs
25 pages
Shell Automation An Introduction To Bash Shell Scripting: Anoop John
PDF
No ratings yet
Shell Automation An Introduction To Bash Shell Scripting: Anoop John
23 pages
Unix 3
PDF
No ratings yet
Unix 3
14 pages
Operating System Lab Manulas For TE IT PUNE 2010
PDF
100% (3)
Operating System Lab Manulas For TE IT PUNE 2010
75 pages
Shell Scripts and Awk: Tim Love Tpl@eng - Cam.ac - Uk February 26, 2009
PDF
No ratings yet
Shell Scripts and Awk: Tim Love Tpl@eng - Cam.ac - Uk February 26, 2009
16 pages
Basics of UNIX Shells (Bourne Shell, Korn Shell, C Shell)
PDF
No ratings yet
Basics of UNIX Shells (Bourne Shell, Korn Shell, C Shell)
64 pages
Unix Shell Scripting Course Content
PDF
No ratings yet
Unix Shell Scripting Course Content
5 pages
Unix Shell Scripts: 2.1 Direct Interpretation
PDF
No ratings yet
Unix Shell Scripts: 2.1 Direct Interpretation
8 pages
UNIX Shell Scripting
PDF
No ratings yet
UNIX Shell Scripting
25 pages
Wa0024.
PDF
No ratings yet
Wa0024.
23 pages
Unit 3 Part-1
PDF
No ratings yet
Unit 3 Part-1
13 pages
Unix Commands Shortcut
PDF
No ratings yet
Unix Commands Shortcut
3 pages
Unix Commands: Re Turn Space
PDF
No ratings yet
Unix Commands: Re Turn Space
3 pages
Shell Scripting
PDF
No ratings yet
Shell Scripting
23 pages
UNIX Shell-Scripting Basics
PDF
No ratings yet
UNIX Shell-Scripting Basics
71 pages
Bash Command Line Pro Tips
From Everand
Bash Command Line Pro Tips
Jason Cannon
4.5/5 (8)
Mastering Shell Commands On Linux
From Everand
Mastering Shell Commands On Linux
Urko Galen
No ratings yet
Dart for Flutter
From Everand
Dart for Flutter
Zeuz IT
No ratings yet
JDK Tutorials - Herong's Tutorial Examples
From Everand
JDK Tutorials - Herong's Tutorial Examples
Herong Yang
No ratings yet
Understanding Software Engineering Vol 3: Programming Basic Software Functionalities.
From Everand
Understanding Software Engineering Vol 3: Programming Basic Software Functionalities.
Gabriel Clemente
No ratings yet
SQL Tutorial For Beginners
From Everand
SQL Tutorial For Beginners
HAU DANG
No ratings yet
Learning Linux Shell Scripting
From Everand
Learning Linux Shell Scripting
Naik Ganesh Sanjiv
4/5 (6)
Rust Mini Reference: A Hitchhiker's Guide to the Modern Programming Languages, #5
From Everand
Rust Mini Reference: A Hitchhiker's Guide to the Modern Programming Languages, #5
Harry Yoon
No ratings yet
LEARN MPLS FROM SCRATCH PART-B: A Beginners guide to next level of networking
From Everand
LEARN MPLS FROM SCRATCH PART-B: A Beginners guide to next level of networking
POONAM DEVI
No ratings yet
XProc 3.0 Programmer Reference
From Everand
XProc 3.0 Programmer Reference
Erik Siegel
No ratings yet
09 Polymorphism
PDF
No ratings yet
09 Polymorphism
29 pages
Projects: Full Stack Developer
PDF
No ratings yet
Projects: Full Stack Developer
1 page
BedRock Systems Ebook - Developing With Formal Methods
PDF
No ratings yet
BedRock Systems Ebook - Developing With Formal Methods
14 pages
Python L1
PDF
No ratings yet
Python L1
11 pages
Log
PDF
No ratings yet
Log
229 pages
Software Protection Using Obfuscation
PDF
No ratings yet
Software Protection Using Obfuscation
6 pages
HARMFUL SOFTWARE
PDF
No ratings yet
HARMFUL SOFTWARE
2 pages
How Assistants Work - OpenAI API
PDF
No ratings yet
How Assistants Work - OpenAI API
9 pages
User Account Features 9090909090909900
PDF
No ratings yet
User Account Features 9090909090909900
6 pages
Chapter 4: Linked Lists: Data Structure and Algorithms - CC04
PDF
100% (1)
Chapter 4: Linked Lists: Data Structure and Algorithms - CC04
12 pages
Important Questions For System Software
PDF
No ratings yet
Important Questions For System Software
18 pages
Gajanan Shinde: Position: Company: Location: Experience
PDF
No ratings yet
Gajanan Shinde: Position: Company: Location: Experience
1 page
Stardock WindowBlinds 10
PDF
No ratings yet
Stardock WindowBlinds 10
2 pages
JAVA Math-Functions
PDF
No ratings yet
JAVA Math-Functions
15 pages
Assignment 2 Algorithms and Data Types
PDF
No ratings yet
Assignment 2 Algorithms and Data Types
7 pages
C
PDF
No ratings yet
C
15 pages
Ajit Final
PDF
No ratings yet
Ajit Final
94 pages
Morphxit An Introduction To Axapta X++
PDF
No ratings yet
Morphxit An Introduction To Axapta X++
327 pages
Dcu Ug
PDF
No ratings yet
Dcu Ug
34 pages
Advanced Java
PDF
No ratings yet
Advanced Java
54 pages
SSZG554 L11
PDF
No ratings yet
SSZG554 L11
37 pages
Setw Manipulator
PDF
No ratings yet
Setw Manipulator
5 pages
Data Science Practical
PDF
No ratings yet
Data Science Practical
7 pages
Job Description AI ML Roles
PDF
No ratings yet
Job Description AI ML Roles
7 pages
DataGrokr Technical Assignment
PDF
No ratings yet
DataGrokr Technical Assignment
4 pages
crud final
PDF
No ratings yet
crud final
44 pages
Evaluating The Quality of Software in ERP Systems Using The ISO 9126 Model
PDF
No ratings yet
Evaluating The Quality of Software in ERP Systems Using The ISO 9126 Model
9 pages