Symbols
| A
| B
| C
| D
| E
| F
| G
| H
| I
| J
| K
| L
| M
| N
| O
| P
| Q
| R
| S
| T
| U
| V
| W
| X
| Y
| Z
Index: Symbols and Numbers
- 0 (zero) process ID
: UNIX Power Tools, 38.12. Killing All Your Processes
- -1 process ID
: UNIX Power Tools, 38.12. Killing All Your Processes
- 8-bit filenames
: UNIX Power Tools, 23.15. Using unlink to Remove a File with a Strange Name
- 80cols file
- UNIX Power Tools, 42.6.1. Single Line Screen Width: 80cols
- UNIX Power Tools, 52.4. Quick Descriptions of What's on the Disc
- 9-track tapes
: UNIX Power Tools, 20.6. Writing a Tape Drive on a Remote Machine
- & (ampersand)
- && operator
- UNIX Power Tools, 11.9. Running a Series of Commands on a File
- UNIX Power Tools, 44.9. Testing Your Success
- UNIX Power Tools, 47.4.3.3. Bitwise and Logical Operators
- UNIX Power Tools, 48.4.3. Automating Your Own Calendar
- sed & awk, 7.8. Relational and Boolean Operators
- &= operator
: UNIX Power Tools, 47.4.3.1. Assignment Operators
- for background processes
- Learning the UNIX Operating System, 6.1. Running a Command in the Background
- UNIX Power Tools, 1.27. How Background Processing Works
- UNIX Power Tools, 38.3. Managing Processes: Overall Concepts
- (see also background processes/jobs)
- C shell operator
: UNIX Power Tools, 47.4.3.3. Bitwise and Logical Operators
- for condition tests
- Learning the Korn Shell, 5.1.3.3. File Attribute Checking
- Learning the Korn Shell, 7.2.2.3. Code blocks
- Learning the Korn Shell, A.1. The Bourne Shell
- escaping special characters using
: UNIX Power Tools, 51.3. ASCII Characters: Listing and Getting Values
- ex command
: UNIX in a Nutshell, Chapter 9, Reference: &
- for exit statuses
- Learning the Korn Shell, 5.1.2. Combinations of Exit Statuses
- Learning the Korn Shell, 5.5. while and until
- Learning the Korn Shell, A.2. The IEEE 1003.2 POSIX Shell Standard
- logical operator for expr
: UNIX Power Tools, 45.28. Quick Reference: expr
- precedence in C shell
: UNIX Power Tools, 47.4.2. Expressions
- in replacement text
- sed & awk, 5.3. Substitution
- sed & awk, 5.3.1. Replacement Metacharacters
- * (asterisk)
- Learning the UNIX Operating System, 4.3. File and Directory Wildcards
- Learning the UNIX Operating System, 4.4.5.1. rm
- ** (exponentiation) operator
: sed & awk, 7.6. Expressions
- **= (assignment) operator
: sed & awk, 7.6. Expressions
- *= (assignment) operator
- UNIX Power Tools, 47.4.3.1. Assignment Operators
- sed & awk, 7.6. Expressions
- accessing entire array
: Learning the Korn Shell, 6.3. Arrays
- built-in variable
- Learning the Korn Shell, 4.2.1. Positional Parameters
- Learning the Korn Shell, 5.2. for
- Learning the Korn Shell, 5.3. case
- Learning the Korn Shell, 5.4. select
- examples
: UNIX Power Tools, 50.6. Searching Online Manual Pages
- metacharacter (regular expression operator)
- Learning the Korn Shell, 1.6.2. Filenames and Wildcards
- Learning the Korn Shell, 9.2.3.3. Breakpoints
- Learning the Korn Shell, 4.3.2.1. Regular expression basics
- Learning the Korn Shell, 4.3.2.2. Korn shell versus awk/egrep regular expressions
- Learning the UNIX Operating System, 4.3. File and Directory Wildcards
- Learning the UNIX Operating System, 4.4.5.1. rm
- UNIX Power Tools, 1.16. Wildcards
- UNIX Power Tools, 15.2. Filename Wildcards in a Nutshell
- UNIX Power Tools, 26.3. Understanding Expressions
- UNIX Power Tools, 26.4.6. Repeating Character Sets with *
- sed & awk, 3.1. That's an Expression
- sed & awk, 3.2.5. Repeated Occurrences of a Character
- multiplication operator
- UNIX Power Tools, 45.28. Quick Reference: expr
- UNIX Power Tools, 47.4.3.2. Arithmetic Operators
- sed & awk, 7.6. Expressions
- in pcal
: UNIX Power Tools, 48.9. PostScript Calendars with pcal
- precedence in C shell
: UNIX Power Tools, 47.4.2. Expressions
- @ (at sign)
: UNIX Power Tools, 9.5. Build Strings with { }
- built-in variable
: Learning the Korn Shell, 4.2.1. Positional Parameters
- csh command
: UNIX in a Nutshell, Chapter 5, Reference: @
- preserving whitespace
: Learning the Korn Shell, 6.3. Arrays
- regular expression operator
- Learning the Korn Shell, 4.3.2.1. Regular expression basics
- Learning the Korn Shell, 4.3.2.2. Korn shell versus awk/egrep regular expressions
- Learning the Korn Shell, 9.2.3.3. Breakpoints
- @ commands (csh)
- UNIX Power Tools, 47.4.2. Expressions
- UNIX Power Tools, 47.4.4. Examples
- @-functions (vi)
: UNIX Power Tools, 31.4. vi @-Functions
- \ (backslash)
- sed & awk, 7.6. Expressions
- (see also escape sequences, awk)
- \{ \} metacharacters
: UNIX Power Tools, 26.4.7. Matching a Specific Number of Sets with \ { and \ }
- \<, \> escape sequences
- UNIX Power Tools, 26.4.8. Matching Words with \ < and \ >
- sed & awk, 3.2.11. What's the Word? Part II
- sed & awk, 11.2.3.4. Extended regular expressions
- \( \) metacharacters
: UNIX Power Tools, 26.4.9. Remembering Patterns with \ (, \ ), and \1
- \`, \' escape sequences
: sed & awk, 11.2.3.4. Extended regular expressions
- \1, \2, ... metacharacters
: UNIX Power Tools, 26.4.9. Remembering Patterns with \ (, \ ), and \1
- continuation characters
- Learning the Korn Shell, 1.9.4. Continuing Lines
- UNIX Power Tools, 8.14.4. Multiline Quoting
- UNIX Power Tools, 8.15.2. How Quoting Works
- UNIX Power Tools, 9.13. Multiline Commands, Secondary Prompts
- in C shell scripts
: UNIX Power Tools, 44.14. Putting awk, sed, etc., Inside Shell Scripts
- character classes and
: sed & awk, 3.2.4. Character Classes
- escaping special characters
- Learning the Korn Shell, 1.9.2. Backslash-escaping
- UNIX Power Tools, 8.6.1. Portability
- UNIX Power Tools, 10.3. C Shell Aliases with Command-Line Arguments
- as metacharacter
- sed & awk, 3.2. A Line-Up of Characters
- sed & awk, 3.2.1. The Ubiquitous Backslash
- placement of
: UNIX Power Tools, 8.20. How Many Backslashes?
- preventing history substitution
: UNIX Power Tools, 8.5. Command-Line Evaluation
- in prompt settings
: UNIX Power Tools, 7.12. External Commands Send Signals to Set Variables
- quoting and
- Learning the Korn Shell, 1.9.3. Quoting Quotation Marks
- UNIX Power Tools, 8.14.2. How Quoting Works
- in replacement text
- sed & awk, 5.3. Substitution
- sed & awk, 5.3.1. Replacement Metacharacters
- in stty command
: UNIX Power Tools, 5.9. Setting Your Erase, Kill, and Interrupt Characters
- ` (backquotes)
- command substitution
- Learning the Korn Shell, 4.4. Command Substitution
- Learning the Korn Shell, A.1. The Bourne Shell
- UNIX Power Tools, 9.16. Command Substitution
- obsolescence in next release
: Learning the Korn Shell, A.7. The Future of the Korn Shell
- examples
- UNIX Power Tools, 44.18. Standard Command-Line Parsing
- UNIX Power Tools, 50.3. apropos on Systems Without apropos
- for loops combined with
: UNIX Power Tools, 45.16. Standard Input to a for Loop
- nesting
: UNIX Power Tools, 45.31. Nested Command Substitution
- weak quotes
: Learning the Korn Shell, 1.9.1. Quoting
- ! (bang)
: sed & awk, 4.2. A Global Perspective on Addressing
- !\*
: UNIX Power Tools, 50.8. Which Version Am I Using?
- !* variable
: UNIX Power Tools, 10.3. C Shell Aliases with Command-Line Arguments
- !: script
: UNIX Power Tools, 52.4. Quick Descriptions of What's on the Disc
- != relational operator
- UNIX Power Tools, 45.28. Quick Reference: expr
- UNIX Power Tools, 47.4.3.4. Comparison Operators
- sed & awk, 7.8. Relational and Boolean Operators
- !~ (does not match) operator
- sed & awk, 7.5.1. Referencing and Separating Fields
- sed & awk, 7.8. Relational and Boolean Operators
- automatic temporary files
: UNIX Power Tools, 9.18.2. Automatic Temporary Files with !
- with brackets wildcards
: UNIX Power Tools, 15.2. Filename Wildcards in a Nutshell
- branch command versus
: sed & awk, 6.4.1. Branching
- built-in variable
: Learning the Korn Shell, 8.4.2. Process ID Variables and Temporary Files
- C shell quoting
: UNIX Power Tools, 8.15.2. How Quoting Works
- csh and
: sed & awk, 1.4. Four Hurdles to Mastering sed and awk
- ex command
: UNIX in a Nutshell, Chapter 9, Reference: !
- history substitution commands
: UNIX Power Tools, 11.7. History Substitutions
- !:n* sequence
- UNIX Power Tools, 11.4. My Favorite Is !:n*
- UNIX Power Tools, 11.7. History Substitutions
- !$ sequence
- UNIX Power Tools, 10.3. C Shell Aliases with Command-Line Arguments
- UNIX Power Tools, 11.3. My Favorite Is !$
- UNIX Power Tools, 11.6. Using !$ for Safety with Wildcards
- UNIX Power Tools, 11.7. History Substitutions
- keyword in next Korn release
: Learning the Korn Shell, A.7. The Future of the Korn Shell
- NOT (negation) operator
- Learning the Korn Shell, 5.1.3.3. File Attribute Checking
- Learning the Korn Shell, 1.6.2. Filenames and Wildcards
- UNIX Power Tools, 17.1. The find Command Is Great; The Problem Is Finding How to Use It
- UNIX Power Tools, 17.6. Be an Expert on find Search Operators
- UNIX Power Tools, 47.4.3.3. Bitwise and Logical Operators
- sed & awk, 7.8. Relational and Boolean Operators
- pattern addressing
- sed & awk, 4.2. A Global Perspective on Addressing
- sed & awk, A.2.1. Pattern Addressing
- POSIX shell keyword
: Learning the Korn Shell, A.2. The IEEE 1003.2 POSIX Shell Standard
- preceding operators
: UNIX Power Tools, 5.3. Setting the Terminal Type When You Log In
- regular expression operator
- Learning the Korn Shell, 4.3.2.1. Regular expression basics
- Learning the Korn Shell, 4.3.2.2. Korn shell versus awk/egrep regular expressions
- terms for
: UNIX Power Tools, 51.8. Type Bang Splat. Don't Forget the Rabbit Ears
- test command using
: UNIX Power Tools, 44.20. test: Testing Files and Strings
- tilde (~) operator
: sed & awk, 7.5.1. Referencing and Separating Fields
- { } (braces)
: sed & awk, A.2.1. Pattern Addressing
- \{ \} metacharacters
- UNIX Power Tools, 26.4.7. Matching a Specific Number of Sets with \ { and \ }
- sed & awk, 3.2. A Line-Up of Characters
- sed & awk, 3.2.8. A Span of Characters
- { cmd } C shell operator
: UNIX Power Tools, 47.4.3.3. Bitwise and Logical Operators
- /{ /} metacharacters
: UNIX Power Tools, 26.4.11. Extended Regular Expressions
- in awk
- sed & awk, 2.1. Awk, by Sed and Grep, out of Ed
- sed & awk, 2.4.1. Running awk
- sed & awk, 8.1. Conditional Statements
- Bourne shell list operators
: UNIX Power Tools, 13.8. Using {list} to Group Bourne Shell Commands
- building strings
: UNIX Power Tools, 9.5. Build Strings with { }
- in C shell
: UNIX Power Tools, 47.4.1. Variables
- creating new files with
: UNIX Power Tools, 1.16. Wildcards
- filename wildcards
- UNIX Power Tools, 15.2. Filename Wildcards in a Nutshell
- UNIX Power Tools, 15.3. Adding { } Operators to Korn (and Bourne) Shells
- find -exec command and
: UNIX Power Tools, 17.10. Running Commands on What You Find
- finding matching
: Learning the vi Editor, 7.5.2. A Special Search Command
- foreach loop and
: UNIX Power Tools, 9.11. Repeating a Command with a foreach Loop
- grouping sed commands in
- sed & awk, 4.2.1. Grouping Commands
- sed & awk, 5.1. About the Syntax of sed Commands
- matching
: Learning the vi Editor, 7.5.2. A Special Search Command
- in shells
: UNIX Power Tools, 1.18. Who Handles Wildcards?
- with variable names
: UNIX Power Tools, 6.8. Shell Variables
- [ ] (brackets) metacharacters
- sed & awk, 3.2. A Line-Up of Characters
- sed & awk, 3.2.4. Character Classes
- (see also condition tests, old syntax)
- [ at start of escape sequence
: UNIX Power Tools, 5.8. Terminal Escape Sequences
- [ command
- UNIX Power Tools, 44.20. test: Testing Files and Strings
- UNIX Power Tools, 46.4. Stop Syntax Errors in Numeric Tests
- UNIX Power Tools, 46.5. Stop Syntax Errors in String Tests
- [[ ]] command
- UNIX in a Nutshell, Chapter 4, Reference: [[ ]]
- (see also condition tests)
- [::] metacharacters
: sed & awk, 3.2.4.3. POSIX character class additions
- [..] metacharacters
: sed & awk, 3.2.4.3. POSIX character class additions
- [==] metacharacters
: sed & awk, 3.2.4.3. POSIX character class additions
- fast find and
: UNIX Power Tools, 17.18. Using "Fast find"
- filename wildcards
- Learning the Korn Shell, 1.6.2. Filenames and Wildcards
- Learning the Korn Shell, 4.3.2.2. Korn shell versus awk/egrep regular expressions
- Learning the UNIX Operating System, 4.3. File and Directory Wildcards
- UNIX Power Tools, 9.4. Use Wildcards to Create Files?
- UNIX Power Tools, 15.2. Filename Wildcards in a Nutshell
- UNIX Power Tools, 26.4.4. Specifying a Range of Characters with [...]
- sc program using
: UNIX Power Tools, 49.8. It's Great to Have a Spreadsheet
- ^ (caret)
- ^[
: (see CTRL key)
- ^^ sequence
- UNIX Power Tools, 11.5. My Favorite Is ^^
- UNIX Power Tools, 11.7. History Substitutions
- ^= (assignment) operator
- UNIX Power Tools, 47.4.3.1. Assignment Operators
- sed & awk, 7.6. Expressions
- C shell operator
: UNIX Power Tools, 47.4.3.3. Bitwise and Logical Operators
- character classes and
- sed & awk, 3.2. A Line-Up of Characters
- sed & awk, 3.2.4.2. Excluding a class of characters
- for control characters
: (see character classes/keys)
- exponentiation operator
: sed & awk, 7.6. Expressions
- metacharacter
- Learning the Korn Shell, 2.3.4. Moving Around in the History File
- Learning the Korn Shell, 10.1. Installing the Korn Shell as the Standard Shell
- UNIX Power Tools, 15.2. Filename Wildcards in a Nutshell
- UNIX Power Tools, 26.4.1. The Anchor Characters: ^ and $
- sed & awk, 3.2. A Line-Up of Characters
- sed & awk, 3.2.7. Positional Metacharacters
- within [ ] metacharacters
: UNIX Power Tools, 26.4.5. Exceptions in a Character Set
- in multiline pattern space
: sed & awk, 6.1.1. Append Next Line
- pipe character in Bourne shell
- Learning the Korn Shell, 10.1. Installing the Korn Shell as the Standard Shell
- Learning the Korn Shell, A.1. The Bourne Shell
- : (colon)
- :+ string operator
- Learning the Korn Shell, 4.3.1. Syntax of String Operators
- Learning the Korn Shell, 5.2. for
- :- string operator
- Learning the Korn Shell, 4.3.1. Syntax of String Operators
- Learning the Korn Shell, 4.5. Advanced Examples: pushd and popd
- Learning the Korn Shell, 9.2.3.4. Break conditions
- := string operator
: Learning the Korn Shell, 4.3.1. Syntax of String Operators
- :? string operator
- Learning the Korn Shell, 4.3.1. Syntax of String Operators
- Learning the Korn Shell, 4.5. Advanced Examples: pushd and popd
- :p operator
: UNIX Power Tools, 11.10. Check Your History First with :p
- alternative to #
: UNIX Power Tools, 45.9. The Unappreciated Bourne Shell ":" Operator
- colon-separated lists
: UNIX Power Tools, 4.10. Find All Command Versions with whereiz
- comment character
- UNIX Power Tools, 45.2. The Story of : # #!
- UNIX Power Tools, 45.9. The Unappreciated Bourne Shell ":" Operator
- csh command
: UNIX in a Nutshell, Chapter 5, Reference: :
- examples
: UNIX Power Tools, 44.18. Standard Command-Line Parsing
- ksh command
: UNIX in a Nutshell, Chapter 4, Reference: :
- for labels
: sed & awk, 6.4. Advanced Flow Control Commands
- as logical operator for expr
- UNIX Power Tools, 45.28. Quick Reference: expr
- UNIX Power Tools, 45.28.1. Examples
- loops using
: UNIX Power Tools, 45.9. The Unappreciated Bourne Shell ":" Operator
- no-op command
: Learning the Korn Shell, 8.4. trap
- as null character
: UNIX Power Tools, 44.8. Test Exit Status with the if Statement
- as parameter substitute
- UNIX Power Tools, 45.9. The Unappreciated Bourne Shell ":" Operator
- UNIX Power Tools, 45.12. Parameter Substitution
- sed command
: UNIX in a Nutshell, Chapter 10, Reference: :
- separating fields
- UNIX Power Tools, 1.9. Which Shell Am I Running?
- UNIX Power Tools, 5.6. Checklist: Terminal Hangs When I Log In
- separating values
: UNIX Power Tools, 5.3. Setting the Terminal Type When You Log In
- sh command
: UNIX in a Nutshell, Chapter 4, Reference: :
- string editing operator
: UNIX Power Tools, 9.6. String Editing (Colon) Operators
- trap used with
: UNIX Power Tools, 45.8. Handling Signals to Child Processes
- , (comma) in filenames
: UNIX Power Tools, 1.15. Filenames
- $ (dollar sign)
- . (dot)
- . command
: UNIX Power Tools, 44.23. Reading Files with the . and source Commands
- .. for parent directory
- Learning the Korn Shell, 1.6.1.3. Changing working directories
- Learning the UNIX Operating System, 3.1.5.2. Relative pathnames up
- Learning the UNIX Operating System, 3.1.8.1. ls
- Learning the UNIX Operating System, 4.4.2.1. cp
- UNIX Power Tools, 18.4.2. Links to a Directory
- for current directory
- Learning the Korn Shell, 1.6.1.3. Changing working directories
- Learning the UNIX Operating System, 3.1.8.1. ls
- Learning the UNIX Operating System, 4.4.2.1. cp
- UNIX Power Tools, 18.4.2. Links to a Directory
- in filenames
- Learning the Korn Shell, 1.6.2. Filenames and Wildcards
- Learning the UNIX Operating System, 4.2. File and Directory Names
- UNIX Power Tools, 1.15. Filenames
- UNIX Power Tools, 1.16. Wildcards
- (see also dot files)
- in pathnames
: UNIX Power Tools, 1.21. Making Pathnames
- regular expression metacharacter
- UNIX Power Tools, 26.3. Understanding Expressions
- UNIX Power Tools, 26.4.3. Match any Character with . (Dot)
- sed & awk, 3.1. That's an Expression
- sed & awk, 3.2.2. A Wildcard
- sed & awk, 3.2.5. Repeated Occurrences of a Character
- to run a script
: Learning the Korn Shell, 4.1. Shell Scripts and Functions
- terms for
: UNIX Power Tools, 51.8. Type Bang Splat. Don't Forget the Rabbit Ears
- = (equal sign)
- == (equal to) operator
- UNIX Power Tools, 47.4.3.4. Comparison Operators
- sed & awk, 7.8. Relational and Boolean Operators
- =~ C shell operator
: UNIX Power Tools, 47.4.3.4. Comparison Operators
- for alias definitions
: UNIX Power Tools, 10.4. Aliases in ksh and bash
- arithmetic operator for expr
: UNIX Power Tools, 45.28.1. Examples
- C shell operator
: UNIX Power Tools, 47.4.3.1. Assignment Operators
- ex command
: UNIX in a Nutshell, Chapter 9, Reference: =
- for printing line numbers
: sed & awk, 5.9. Print Line Number
- relational operator for expr
- UNIX Power Tools, 45.28. Quick Reference: expr
- UNIX Power Tools, 45.28.1. Examples
- sed command
: UNIX in a Nutshell, Chapter 10, Reference: =
- # (hash mark)
- : (colon) used in place of
: UNIX Power Tools, 45.9. The Unappreciated Bourne Shell ":" Operator
- #! notation
- UNIX Power Tools, 8.17. verbose and echo Variables Show Quoting
- UNIX Power Tools, 45.2. The Story of : # #!
- UNIX Power Tools, 45.4. Fun with #!
- UNIX in a Nutshell, Chapter 4, Reference: #!shell
- UNIX in a Nutshell, Chapter 5, Reference: #!
- Bourne shell scripts using
- UNIX Power Tools, 44.2. Writing a Simple Shell Program
- UNIX Power Tools, 44.4. Testing How Your System Executes Files
- character limit
: UNIX Power Tools, 45.4. Fun with #!
- examples
- UNIX Power Tools, 45.3. Don't Need a Shell for Your Script? Don't Use One
- UNIX Power Tools, 45.4. Fun with #!
- executing files without showing
: UNIX Power Tools, 45.5. A File That Shows Itself... and What #! Does
- invoking awk
- sed & awk, 10.9. Invoking awk Using the #! Syntax
- sed & awk, B.1.1. Shell Wrapper for Invoking awk
- making programs executable
: UNIX Power Tools, 45.4. Fun with #!
- ## pattern-matching operator
- Learning the Korn Shell, 4.3.3. Pattern-matching Operators
- Learning the Korn Shell, 6.2.2. Arithmetic Variables and Assignment
- #n for suppressing output
: sed & awk, 5.2. Comment
- alternatives to
: UNIX Power Tools, 45.9. The Unappreciated Bourne Shell ":" Operator
- built-in variable
: Learning the Korn Shell, 4.2.1. Positional Parameters
- for comments
- Learning the Korn Shell, 4.3.1. Syntax of String Operators
- UNIX Power Tools, 10.2.1. Simple Aliases
- sed & awk, 5.2. Comment
- sed & awk, 7.4.1. Describing Your Script
- sed & awk, B.2.2.2. Comments
- in crontab entries
: UNIX Power Tools, 40.12.1. Execution Scheduling
- csh command
- UNIX in a Nutshell, Chapter 5, Reference: #
- UNIX in a Nutshell, Chapter 5, Reference: #!
- ksh command
- UNIX in a Nutshell, Chapter 4, Reference: #
- UNIX in a Nutshell, Chapter 4, Reference: #!shell
- length operator
: Learning the Korn Shell, 4.3.4. Length Operator
- pattern-matching operator
- Learning the Korn Shell, 4.3.3. Pattern-matching Operators
- Learning the Korn Shell, 4.5. Advanced Examples: pushd and popd
- Learning the Korn Shell, 5.5. while and until
- sh command
- UNIX in a Nutshell, Chapter 4, Reference: #
- UNIX in a Nutshell, Chapter 4, Reference: #!shell
- shell script comments
: UNIX Power Tools, 45.2. The Story of : # #!
- size of an array
: Learning the Korn Shell, 6.3. Arrays
- - (hyphen)
- -= (assignment) operator
- UNIX Power Tools, 47.4.3.1. Assignment Operators
- sed & awk, 7.6. Expressions
- -- (decrement) operator
: sed & awk, 7.6. Expressions
- -- (two dashes) as argument to set command
: UNIX Power Tools, 44.19. The Bourne Shell set Command
- character classes and
: sed & awk, 3.2.4.1. A range of characters
- for command-line options
- Learning the UNIX Operating System, 1.2. Syntax of UNIX Command Lines
- UNIX Power Tools, 44.16. Handling Command-Line Arguments with a for Loop
- UNIX Power Tools, 44.17. Handling Arguments with while and shift
- UNIX Power Tools, 44.18. Standard Command-Line Parsing
- filenames starting with
: UNIX Power Tools, 23.14. Handling a Filename Starting with a Dash (-)
- with << operator
: UNIX Power Tools, 8.18. Here Documents
- in login shell
: UNIX Power Tools, 2.16. Approved Shells: Using Unapproved Login Shell
- precedence in C shell
: UNIX Power Tools, 47.4.2. Expressions
- for stdin (on command line)
: UNIX Power Tools, 13.13. The "Filename" -
- subtraction operator
- UNIX Power Tools, 45.28. Quick Reference: expr
- UNIX Power Tools, 47.4.3.2. Arithmetic Operators
- sed & awk, 7.6. Expressions
- < (left angle bracket)
- <= relational operator
- UNIX Power Tools, 45.28. Quick Reference: expr
- UNIX Power Tools, 47.4.3.3. Bitwise and Logical Operators
- UNIX Power Tools, 47.4.3.4. Comparison Operators
- sed & awk, 7.8. Relational and Boolean Operators
- << operator
- UNIX Power Tools, 8.18. Here Documents
- UNIX Power Tools, 19.2. Introduction to Shell Archives
- <<- operator
- UNIX Power Tools, 8.18. Here Documents
- UNIX Power Tools, 9.14. Using Here Documents for Form Letters, etc.
- /< /> metacharacters
: UNIX Power Tools, 26.4.11. Extended Regular Expressions
- \< \> metacharacters
: UNIX Power Tools, 26.4.8. Matching Words with \ < and \ >
- C shell operator
: UNIX Power Tools, 47.4.3.4. Comparison Operators
- ex command
: UNIX in a Nutshell, Chapter 9, Reference: < >
- examples
: UNIX Power Tools, 48.4.3. Automating Your Own Calendar
- input redirection operator
- Learning the Korn Shell, 1.7.2. I/O Redirection
- Learning the UNIX Operating System, 5.1. Standard Input and Standard Output
- precedence in C shell
: UNIX Power Tools, 47.4.2. Expressions
- relational operator for expr
: UNIX Power Tools, 45.28. Quick Reference: expr
- ( ) (parentheses)
- sed & awk, 2.2.1. Scripting
- sed & awk, 3.2. A Line-Up of Characters
- sed & awk, 3.2.10. Grouping Operations
- \( \) metacharacters
: UNIX Power Tools, 26.4.9. Remembering Patterns with \ (, \ ), and \1
- (( ))
: (see condition tests, arithmetic)
- commands printed in
: UNIX Power Tools, 38.7. Why ps Prints Some Commands in Parentheses
- in extended regular expressions
- UNIX Power Tools, 26.4.11. Extended Regular Expressions
- UNIX Power Tools, 47.4.2. Expressions
- sed & awk, 5.3.1. Replacement Metacharacters
- grouping condition tests
: Learning the Korn Shell, 5.1.3.3. File Attribute Checking
- grouping expressions using
: UNIX Power Tools, 47.5. Using C Shell Arrays
- as operators
: UNIX Power Tools, 2.2. Shell Setup Files-Which, Where, and Why
- subshell operators
- Learning the Korn Shell, 5.1.3.3. File Attribute Checking
- Learning the Korn Shell, 8.6.2. Nested Subshells
- UNIX Power Tools, 13.7. The () Subshell Operators
- within arithmetic expressions
: Learning the Korn Shell, 6.2. Integer Variables and Arithmetic
- % (percent sign)
- %= (assignment) operator
- UNIX Power Tools, 47.4.3.1. Assignment Operators
- sed & awk, 7.6. Expressions
- %% pattern-matching operator
- Learning the Korn Shell, 4.3.3. Pattern-matching Operators
- Learning the Korn Shell, 4.5. Advanced Examples: pushd and popd
- Learning the Korn Shell, 5.5. while and until
- Learning the Korn Shell, 6.2.2. Arithmetic Variables and Assignment
- arithmetic operator
- UNIX Power Tools, 45.28. Quick Reference: expr
- UNIX Power Tools, 47.4.3.2. Arithmetic Operators
- C shell prompt
: UNIX Power Tools, 7.1. Why Change Your Prompt?
- format specifications
: sed & awk, 7.9. Formatted Printing
- job numbers
- Learning the Korn Shell, 8.2.1. Foreground and Background
- Learning the Korn Shell, 8.3.2. kill
- Learning the Korn Shell, A.1. The Bourne Shell
- UNIX Power Tools, 12.1.1. Foreground and Background
- UNIX Power Tools, 12.3. The "Current Job" Isn't Always What You Expect
- modulo operator
: sed & awk, 7.6. Expressions
- pattern-matching operator
- Learning the Korn Shell, 4.3.3. Pattern-matching Operators
- Learning the Korn Shell, 5.2. for
- Learning the Korn Shell, 5.3. case
- precedence in C shell
: UNIX Power Tools, 47.4.2. Expressions
- + (plus sign)
- += (assignment) operator
- UNIX Power Tools, 47.4.3.1. Assignment Operators
- sed & awk, 7.6. Expressions
- ++ (increment) operator
: sed & awk, 7.6. Expressions
- addition operator
- UNIX Power Tools, 45.28. Quick Reference: expr
- UNIX Power Tools, 45.28.1. Examples
- UNIX Power Tools, 47.4.3.2. Arithmetic Operators
- sed & awk, 7.6. Expressions
- in job reports
: UNIX Power Tools, 12.1.1. Foreground and Background
- precedence in C shell
: UNIX Power Tools, 47.4.2. Expressions
- regular expression metacharacter
- Learning the Korn Shell, 4.3.2.1. Regular expression basics
- Learning the Korn Shell, 4.3.2.2. Korn shell versus awk/egrep regular expressions
- UNIX Power Tools, 26.4.11. Extended Regular Expressions
- sed & awk, 3.2. A Line-Up of Characters
- sed & awk, 3.2.5. Repeated Occurrences of a Character
- sed & awk, 7.4. Pattern Matching
- ? (question mark)
- ?*) wildcard
: UNIX Power Tools, 44.6. Pattern Matching in case Statements
- ?: (conditional) operator
- sed & awk, 8.1.1. Conditional Operator
- sed & awk, 11.1.3. The C Conditional Expression
- ?) wildcard
: UNIX Power Tools, 44.6. Pattern Matching in case Statements
- built-in variable
- Learning the Korn Shell, 5.1.1. Exit Status and Return
- Learning the Korn Shell, 9.1.2.2. ERR
- Learning the Korn Shell, 9.2.5. Exercises
- UNIX Power Tools, 6.9. Special C Shell Variables
- UNIX Power Tools, 44.7. Exit Status of UNIX Processes
- metacharacter (regular expression operator)
- Learning the Korn Shell, 1.6.2. Filenames and Wildcards
- Learning the Korn Shell, 4.3.2.1. Regular expression basics
- Learning the Korn Shell, 4.3.2.2. Korn shell versus awk/egrep regular expressions
- Learning the UNIX Operating System, 4.3. File and Directory Wildcards
- UNIX Power Tools, 1.16. Wildcards
- UNIX Power Tools, 15.2. Filename Wildcards in a Nutshell
- UNIX Power Tools, 26.4.11. Extended Regular Expressions
- sed & awk, 3.2. A Line-Up of Characters
- sed & awk, 3.2.5. Repeated Occurrences of a Character
- fast find and
: UNIX Power Tools, 17.18. Using "Fast find"
- foreach loop and
: UNIX Power Tools, 9.11. Repeating a Command with a foreach Loop
- in C shells
: UNIX Power Tools, 47.5. Using C Shell Arrays
- ' (quotes, single)
: UNIX Power Tools, 8.14.3. Single Quotes Inside Single Quotes?
- around PS1 string
: UNIX Power Tools, 7.8. Highlighting in Shell Prompts
- with bash pre-prompt commands
: UNIX Power Tools, 7.13. Pre-Prompt Commands in bash
- passing wildcards to programs
: UNIX Power Tools, 1.18. Who Handles Wildcards?
- prompt setting and
: UNIX Power Tools, 7.4. Faster Prompt Setting with Built-Ins
- protecting special characters
: UNIX Power Tools, 10.3. C Shell Aliases with Command-Line Arguments
- quoting and
- UNIX Power Tools, 8.14.2. How Quoting Works
- UNIX Power Tools, 8.15. Differences Between Bourne and C Shell Quoting
- sc program using
: UNIX Power Tools, 49.8. It's Great to Have a Spreadsheet
- " (quotes, double)
- Learning the Korn Shell, 3.4.1. Variables and Quoting
- sed & awk, 2.2. Command-Line Syntax
- sed & awk, 2.3.1. Specifying Simple Instructions
- aliases in
: UNIX Power Tools, 10.2.2. Using More Complex Aliases
- for comments
: UNIX Power Tools, 4.9. Setting Up vi with the .exrc File
- passing wildcards to programs
: UNIX Power Tools, 1.18. Who Handles Wildcards?
- prompt setting
: UNIX Power Tools, 7.8. Highlighting in Shell Prompts
- quoting and
- UNIX Power Tools, 8.14.2. How Quoting Works
- UNIX Power Tools, 8.15. Differences Between Bourne and C Shell Quoting
- sc program using
: UNIX Power Tools, 49.8. It's Great to Have a Spreadsheet
- in sed scripts
: UNIX Power Tools, 51.6. Cleaning script Files
- terms for
: UNIX Power Tools, 51.8. Type Bang Splat. Don't Forget the Rabbit Ears
- > (right angle bracket)
- >& operator
: UNIX Power Tools, 13.5. Redirection in C Shell: Capture Errors, Too?
- >= comparison operator
- UNIX Power Tools, 45.28. Quick Reference: expr
- UNIX Power Tools, 45.28.1. Examples
- UNIX Power Tools, 47.4.3.4. Comparison Operators
- sed & awk, 7.8. Relational and Boolean Operators
- >> shell operator
- UNIX Power Tools, 45.22. Handling Files Line-by-Line
- UNIX Power Tools, 47.4.3.3. Bitwise and Logical Operators
- with for loop
: UNIX Power Tools, 9.12. The Bourne Shell for Loop
- output redirection operator
- Learning the Korn Shell, 1.7.2. I/O Redirection
- Learning the UNIX Operating System, 5.1. Standard Input and Standard Output
- Learning the UNIX Operating System, 5.1.1.1. The > operator
- Learning the UNIX Operating System, 5.1.1.2. The >> operator
- UNIX Power Tools, 6.9. Special C Shell Variables
- sed & awk, 2.3.2.1. Saving output
- sed & awk, 4.3. Testing and Saving Output
- sed & awk, 10.5. Directing Output to Files and Pipes
- precedence in C shell
: UNIX Power Tools, 47.4.2. Expressions
- relational operator
- UNIX Power Tools, 45.28. Quick Reference: expr
- sed & awk, 7.8. Relational and Boolean Operators
- ; (semicolon)
- ;; in case statement
: Learning the Korn Shell, 5.4. select
- statement separator
- Learning the Korn Shell, 3.2. Aliases
- Learning the Korn Shell, 5.1.3.1. String comparisons
- Learning the Korn Shell, 9.2.5. Exercises
- Learning the Korn Shell, A.6. Workalikes on PC Platforms
- Learning the UNIX Operating System, 1.2. Syntax of UNIX Command Lines
- UNIX Power Tools, 8.5. Command-Line Evaluation
- UNIX Power Tools, 44.12. Trapping Exits Caused by Interrupts
- sed & awk, 2.3.1. Specifying Simple Instructions
- sed & awk, 2.4.1. Running awk
- sed & awk, B.2.2.1. Line termination
- / (slash)
- /*/ wildcard
: UNIX Power Tools, 44.6. Pattern Matching in case Statements
- /{ /} metacharacters
: UNIX Power Tools, 26.4.11. Extended Regular Expressions
- /= assignment operator
- UNIX Power Tools, 47.4.3.1. Assignment Operators
- sed & awk, 7.6. Expressions
- /< /> metacharacters
: UNIX Power Tools, 26.4.11. Extended Regular Expressions
- // as delimiter
- sed & awk, 2.1. Awk, by Sed and Grep, out of Ed
- sed & awk, 5.3. Substitution
- arithmetic operator for expr
- UNIX Power Tools, 45.28. Quick Reference: expr
- UNIX Power Tools, 45.28.1. Examples
- UNIX Power Tools, 47.4.3.2. Arithmetic Operators
- sed & awk, 7.6. Expressions
- division operator
: sed & awk, 7.6. Expressions
- in ed commands
: sed & awk, 2.1. Awk, by Sed and Grep, out of Ed
- fast find and
: UNIX Power Tools, 17.18. Using "Fast find"
- in filenames
- UNIX Power Tools, 1.15. Filenames
- UNIX Power Tools, 1.16. Wildcards
- in pathnames
- Learning the UNIX Operating System, 3.1.4. Absolute Pathnames
- UNIX Power Tools, 1.21. Making Pathnames
- UNIX Power Tools, 14.2. Using Relative and Absolute Pathnames
- pattern addressing
- sed & awk, 2.1. Awk, by Sed and Grep, out of Ed
- sed & awk, A.2.1. Pattern Addressing
- precedence in C shell
: UNIX Power Tools, 47.4.2. Expressions
- for root directory
- Learning the UNIX Operating System, 3.1.3. The Directory Tree
- Learning the UNIX Operating System, 3.1.4. Absolute Pathnames
- UNIX Power Tools, 1.19. The Tree Structure of the Filesystem
- terms for
: UNIX Power Tools, 51.8. Type Bang Splat. Don't Forget the Rabbit Ears
- ~ (tilde)
- Learning the Korn Shell, 1.6.1.2. Tilde notation
- Learning the Korn Shell, 7.3. Command-line Processing
- Learning the Korn Shell, 7.3.1. Quoting
- Learning the Korn Shell, A.1. The Bourne Shell
- Learning the Korn Shell, A.2. The IEEE 1003.2 POSIX Shell Standard
- sed & awk, 7.5.1. Referencing and Separating Fields
- sed & awk, 7.8. Relational and Boolean Operators
- ~+ (current directory)
: Learning the Korn Shell, 7.3. Command-line Processing
- ~- (previous directory)
: Learning the Korn Shell, 7.3. Command-line Processing
- C shell operator
: UNIX Power Tools, 47.4.3.3. Bitwise and Logical Operators
- ending filenames
: UNIX Power Tools, 14.11. Finding (Anyone's) Home Directory, Quickly
- ex command
: UNIX in a Nutshell, Chapter 9, Reference: ~
- ending filenames
- UNIX Power Tools, 14.11. Finding (Anyone's) Home Directory, Quickly
- UNIX Power Tools, 17.18. Using "Fast find"
- for home directory
- UNIX Power Tools, 7.11. dirs in Your Prompt: Better than $cwd
- UNIX Power Tools, 14.11. Finding (Anyone's) Home Directory, Quickly
- match operator
- sed & awk, 7.5.1. Referencing and Separating Fields
- sed & awk, 7.8. Relational and Boolean Operators
- in pathnames
: UNIX Power Tools, 1.21. Making Pathnames
- in public domain Korn shell
: Learning the Korn Shell, A.4. pdksh
- within double quotes
: Learning the Korn Shell, 3.4.1. Variables and Quoting
- within variable expressions
: Learning the Korn Shell, A.7. The Future of the Korn Shell
- ~ (tilde) notation
- Learning the Korn Shell, 1.6.1.2. Tilde notation
- Learning the Korn Shell, 7.3. Command-line Processing
- Learning the Korn Shell, 7.3.1. Quoting
- Learning the Korn Shell, A.1. The Bourne Shell
- Learning the Korn Shell, A.2. The IEEE 1003.2 POSIX Shell Standard
- _ (underscore) in filenames
: UNIX Power Tools, 1.15. Filenames
- | (vertical bar)
- |&, background job with two-way pipes
- Learning the Korn Shell, 8.5.4. Coroutines with Two-way Pipes
- Learning the Korn Shell, 8.5.5. Two-way Pipes Versus Standard Pipes
- UNIX Power Tools, 13.3. Send (only) Standard Error Down a Pipe
- UNIX Power Tools, 13.5. Redirection in C Shell: Capture Errors, Too?
- |= operator
: UNIX Power Tools, 47.4.3.1. Assignment Operators
- || for condition tests
- Learning the Korn Shell, 5.1.3.3. File Attribute Checking
- Learning the Korn Shell, A.1. The Bourne Shell
- UNIX Power Tools, 47.4.3.3. Bitwise and Logical Operators
- sed & awk, 7.8. Relational and Boolean Operators
- || for exit statuses
- Learning the Korn Shell, 5.1.2. Combinations of Exit Statuses
- Learning the Korn Shell, 9.2.3.3. Breakpoints
- Learning the Korn Shell, A.2. The IEEE 1003.2 POSIX Shell Standard
- UNIX Power Tools, 26.4.11. Extended Regular Expressions
- UNIX Power Tools, 44.7. Exit Status of UNIX Processes
- UNIX Power Tools, 44.8. Test Exit Status with the if Statement
- UNIX Power Tools, 44.9. Testing Your Success
- UNIX Power Tools, 44.18. Standard Command-Line Parsing
- UNIX Power Tools, 45.6. Making Sure Your Script Runs with Bourne Shell, Without #!
- UNIX Power Tools, 46.6. Watch Out for Bourne Shell -e Bug
- (see also pipes)
- case pattern separator
: Learning the Korn Shell, 5.3. case
- I/O redirection (piping)
- Learning the Korn Shell, 1.7.3. Pipelines
- Learning the Korn Shell, 10.1. Installing the Korn Shell as the Standard Shell
- Learning the Korn Shell, A.1. The Bourne Shell
- Learning the UNIX Operating System, 5.1. Standard Input and Standard Output
- logical operator
- UNIX Power Tools, 45.28. Quick Reference: expr
- UNIX Power Tools, 47.4.3.3. Bitwise and Logical Operators
- sed & awk, 3.2. A Line-Up of Characters
- sed & awk, 3.2.9. Alternative Operations
- pipes
- UNIX Power Tools, 1.3. Programs Are Designed to Work Together
- UNIX Power Tools, 13.3. Send (only) Standard Error Down a Pipe
- sed & awk, 10.5.1. Directing Output to a Pipe
- noclobber variable and
- Learning the Korn Shell, 3.3. Options
- Learning the Korn Shell, 7.1. I/O Redirectors
- Learning the Korn Shell, 10.2.3. Types of Global Customization
- Learning the UNIX Operating System, 5.1.1.1. The > operator
- UNIX Power Tools, 6.8. Shell Variables
- UNIX Power Tools, 6.9. Special C Shell Variables
- UNIX Power Tools, 13.6. Safe I/O Redirection with noclobber
- UNIX Power Tools, 23.7. Safer File Deletion in Some Directories
- UNIX in a Nutshell, 5.3.3. Predefined Shell Variables
- precedence in C shell
: UNIX Power Tools, 47.4.2. Expressions
Symbols
| A
| B
| C
| D
| E
| F
| G
| H
| I
| J
| K
| L
| M
| N
| O
| P
| Q
| R
| S
| T
| U
| V
| W
| X
| Y
| Z
Copyright © 1998
O'Reilly & Associates, Inc.
All Rights Reserved.