"Learning the bash Shell" - Information and Links:

Learning the bash Shell - Info and Reading Options

Book's cover
The cover of “Learning the bash Shell” - Open Library.

"Learning the bash Shell" was published by O’Reilly Media in 2005 04 - Beijing, it has 333 pages and the language of the book is English.


“Learning the bash Shell” Metadata:

  • Title: Learning the bash Shell
  • Authors:
  • Language: English
  • Number of Pages: 333
  • Publisher: O’Reilly Media
  • Publish Date:
  • Publish Location: Beijing

“Learning the bash Shell” Subjects and Themes:

Edition Specifications:

  • Format: Paperback
  • Pagination: xvi, 333 p. :

Edition Identifiers:

AI-generated Review of “Learning the bash Shell”:


"Learning the bash Shell" Table Of Contents:

  • 1- Preface
  • 2- bash Versions
  • 3- Summary of bash Features
  • 4- Intended Audience
  • 5- Code Examples
  • 6- Chapter Summary
  • 7- Conventions Used in This Handbook
  • 8- We’d Like to Hear from You
  • 9- Using Code Examples
  • 10- Safari Enabled
  • 11- Acknowledgments for the First Edition
  • 12- Acknowledgments for the Second Edition
  • 13- Acknowledgments for the Third Edition
  • 14- 1. bash Basics
  • 15- 1.1. What Is a Shell?
  • 16- 1.2. Scope of This Book
  • 17- 1.3. History of UNIX Shells
  • 18- 1.3.1. The Bourne Again Shell
  • 19- 1.3.2. Features of bash
  • 20- 1.4. Getting bash
  • 21- 1.5. Interactive Shell Use
  • 22- 1.5.1. Commands, Arguments, and Options
  • 23- 1.6. Files
  • 24- 1.6.1. Directories
  • 25- 1.6.1.1. The working directory
  • 26- 1.6.1.2. Tilde notation
  • 27- 1.6.1.3. Changing working directories
  • 28- 1.6.2. Filenames, Wildcards, and Pathname Expansion
  • 29- 1.6.3. Brace Expansion
  • 30- 1.7. Input and Output
  • 31- 1.7.1. Standard I/O
  • 32- 1.7.2. I/O Redirection
  • 33- 1.7.3. Pipelines
  • 34- 1.8. Background Jobs
  • 35- 1.8.1. Background I/O
  • 36- 1.8.2. Background Jobs and Priorities
  • 37- 1.9. Special Characters and Quoting
  • 38- 1.9.1. Quoting
  • 39- 1.9.2. Backslash-Escaping
  • 40- 1.9.3. Quoting Quotation Marks
  • 41- 1.9.4. Continuing Lines
  • 42- 1.9.5. Control Keys
  • 43- 1.10. Help
  • 44- 2. Command-Line Editing
  • 45- 2.1. Enabling Command-Line Editing
  • 46- 2.2. The History List
  • 47- 2.3. emacs Editing Mode
  • 48- 2.3.1. Basic Commands
  • 49- 2.3.2. Word Commands
  • 50- 2.3.3. Line Commands
  • 51- 2.3.4. Moving Around in the History List
  • 52- 2.3.5. Textual Completion
  • 53- 2.3.6. Miscellaneous Commands
  • 54- 2.4. vi Editing Mode
  • 55- 2.4.1. Simple Control Mode Commands
  • 56- 2.4.2. Entering and Changing Text
  • 57- 2.4.3. Deletion Commands
  • 58- 2.4.4. Moving Around in the History List
  • 59- 2.4.5. Character-Finding Commands
  • 60- 2.4.6. Textual Completion
  • 61- 2.4.7. Miscellaneous Commands
  • 62- 2.5. The fc Command
  • 63- 2.6. History Expansion
  • 64- 2.7. readline
  • 65- 2.7.1. The readline Startup File
  • 66- 2.7.1.1. readline variables
  • 67- 2.7.2. Key Bindings Using bind
  • 68- 2.8. Keyboard Habits
  • 69- 3. Customizing Your Environment
  • 70- 3.1. The .bash_profile, .bash_logout, and .bashrc Files
  • 71- 3.2. Aliases
  • 72- 3.3. Options
  • 73- 3.3.1. shopt
  • 74- 3.4. Shell Variables
  • 75- 3.4.1. Variables and Quoting
  • 76- 3.4.2. Built-In Variables
  • 77- 3.4.2.1. Editing mode variables
  • 78- 3.4.2.2. Mail variables
  • 79- 3.4.2.3. Prompting variables
  • 80- 3.4.2.4. Command search path
  • 81- 3.4.2.5. Command hashing
  • 82- 3.4.2.6. Directory search path and variables
  • 83- 3.4.2.7. Miscellaneous variables
  • 84- 3.5. Customization and Subprocesses
  • 85- 3.5.1. Environment Variables
  • 86- 3.5.1.1. Terminal types
  • 87- 3.5.1.2. Other common variables
  • 88- 3.5.2. The Environment File
  • 89- 3.6. Customization Hints
  • 90- 4. Basic Shell Programming
  • 91- 4.1. Shell Scripts and Functions
  • 92- 4.1.1. Functions
  • 93- 4.2. Shell Variables
  • 94- 4.2.1. Positional Parameters
  • 95- 4.2.1.1. Positional parameters in functions
  • 96- 4.2.2. Local Variables in Functions
  • 97- 4.2.3. Quoting with $@ and $*
  • 98- 4.2.4. More on Variable Syntax
  • 99- 4.3. String Operators
  • 100- 4.3.1. Syntax of String Operators
  • 101- 4.3.2. Patterns and Pattern Matching
  • 102- 4.3.3. Length Operator
  • 103- 4.3.4. Extended Pattern Matching
  • 104- 4.4. Command Substitution
  • 105- 4.5. Advanced Examples: pushd and popd
  • 106- 5. Flow Control
  • 107- 5.1. if/else
  • 108- 5.1.1. Exit Status
  • 109- 5.1.2. Return
  • 110- 5.1.3. Combinations of Exit Statuses
  • 111- 5.1.4. Condition Tests
  • 112- 5.1.4.1. String comparisons
  • 113- 5.1.4.2. File attribute checking
  • 114- 5.1.5. Integer Conditionals
  • 115- 5.2. for
  • 116- 5.3. case
  • 117- 5.4. select
  • 118- 5.5. while and until
  • 119- 6. Command-Line Options and Typed Variables
  • 120- 6.1. Command-Line Options
  • 121- 6.1.1. shift
  • 122- 6.1.2. Options with Arguments
  • 123- 6.1.3. getopts
  • 124- 6.2. Typed Variables
  • 125- 6.3. Integer Variables and Arithmetic
  • 126- 6.3.1. Arithmetic Conditionals
  • 127- 6.3.2. Arithmetic Variables and Assignment
  • 128- 6.3.3. Arithmetic for Loops
  • 129- 6.4. Arrays
  • 130- 7. Input/Output and Command-Line Processing
  • 131- 7.1. I/O Redirectors
  • 132- 7.1.1. Here-documents
  • 133- 7.1.2. File Descriptors
  • 134- 7.2. String I/O
  • 135- 7.2.1. echo
  • 136- 7.2.1.1. Options to echo
  • 137- 7.2.1.2. echo escape sequences
  • 138- 7.2.2. printf
  • 139- 7.2.2.1. Additional bash printf specifiers
  • 140- 7.2.3. read
  • 141- 7.2.3.1. Reading lines from files
  • 142- 7.2.3.2. I/O redirection and multiple commands
  • 143- 7.2.3.3. Command blocks
  • 144- 7.2.3.4. Reading user input
  • 145- 7.3. Command-Line Processing
  • 146- 7.3.1. Quoting
  • 147- 7.3.2. command, builtin, and enable
  • 148- 7.3.3. eval
  • 149- 8. Process Handling
  • 150- 8.1. Process IDs and Job Numbers
  • 151- 8.2. Job Control
  • 152- 8.2.1. Foreground and Background
  • 153- 8.2.2. Suspending a Job
  • 154- 8.3. Signals
  • 155- 8.3.1. Control-Key Signals
  • 156- 8.3.2. kill
  • 157- 8.3.3. ps
  • 158- 8.3.3.1. System V
  • 159- 8.3.3.2. BSD
  • 160- 8.4. trap
  • 161- 8.4.1. Traps and Functions
  • 162- 8.4.2. Process ID Variables and Temporary Files
  • 163- 8.4.3. Ignoring Signals
  • 164- 8.4.4. disown
  • 165- 8.4.5. Resetting Traps
  • 166- 8.5. Coroutines
  • 167- 8.5.1. wait
  • 168- 8.5.2. Advantages and Disadvantages of Coroutines
  • 169- 8.5.3. Parallelization
  • 170- 8.6. Subshells
  • 171- 8.6.1. Subshell Inheritance
  • 172- 8.6.2. Nested Subshells
  • 173- 8.7. Process Substitution
  • 174- 9. Debugging Shell Programs
  • 175- 9.1. Basic Debugging Aids
  • 176- 9.1.1. Set Options
  • 177- 9.1.2. Fake Signals
  • 178- 9.1.2.1. EXIT
  • 179- 9.1.2.2. ERR
  • 180- 9.1.2.3. DEBUG
  • 181- 9.1.2.4. RETURN
  • 182- 9.1.3. Debugging Variables
  • 183- 9.2. A bash Debugger
  • 184- 9.2.1. Structure of the Debugger
  • 185- 9.2.1.1. The driver script
  • 186- 9.2.1.2. exec
  • 187- 9.2.2. The Preamble
  • 188- 9.2.3. Debugger Functions
  • 189- 9.2.3.1. Commands
  • 190- 9.2.3.2. Stepping
  • 191- 9.2.3.3. Breakpoints
  • 192- 9.2.3.4. Break conditions
  • 193- 9.2.3.5. Execution tracing
  • 194- 9.2.3.6. Debugger limitations
  • 195- 9.2.4. A Sample bashdb Session
  • 196- 9.2.5. Exercises
  • 197- 10. bash Administration
  • 198- 10.1. Installing bash as the Standard Shell
  • 199- 10.1.1. POSIX Mode
  • 200- 10.1.2. Command-Line Options
  • 201- 10.2. Environment Customization
  • 202- 10.2.1. umask
  • 203- 10.2.2. ulimit
  • 204- 10.2.3. Types of Global Customization
  • 205- 10.3. System Security Features
  • 206- 10.3.1. Restricted Shell
  • 207- 10.3.2. A System Break-In Scenario
  • 208- 10.3.3. Privileged Mode
  • 209- 11. Shell Scripting
  • 210- 11.1. What’s That Do?
  • 211- 11.1.1. Comments
  • 212- 11.1.2. Variables and Constants
  • 213- 11.2. Starting Up
  • 214- 11.3. Potential Problems
  • 215- 11.4. Don’t Use bash
  • 216- 12. bash for Your System
  • 217- 12.1. Obtaining bash
  • 218- 12.2. Unpacking the Archive
  • 219- 12.3. What’s in the Archive
  • 220- 12.3.1. Documentation
  • 221- 12.3.2. Configuring and Building bash
  • 222- 12.3.3. Testing bash
  • 223- 12.3.4. Potential Problems
  • 224- 12.3.5. Installing bash as a Login Shell
  • 225- 12.3.6. Examples
  • 226- 12.4. Who Do I Turn to?
  • 227- 12.4.1. Asking Questions
  • 228- 12.4.2. Reporting Bugs
  • 229- A. Related Shells
  • 230- A.1. The Bourne Shell
  • 231- A.2. The IEEE 1003.2 POSIX Shell Standard
  • 232- A.3. The Korn Shell
  • 233- A.4. pdksh
  • 234- A.5. zsh
  • 235- A.6. Shell Clones and Unix-like Platforms
  • 236- A.6.1. Cygwin
  • 237- A.6.2. DJGPP
  • 238- A.6.3. MKS Toolkit
  • 239- A.6.4. AT&T UWIN
  • 240- B. Reference Lists
  • 241- B.1. Invocation
  • 242- B.2. Prompt String Customizations
  • 243- B.3. Built-In Commands and Reserved Words
  • 244- B.4. Built-In Shell Variables
  • 245- B.5. Test Operators
  • 246- B.6. set Options
  • 247- B.7. shopt Options
  • 248- B.8. I/O Redirection
  • 249- B.9. emacs Mode Commands
  • 250- B.10. vi Control Mode Commands
  • 251- C. Loadable Built-Ins
  • 252- D. Programmable Completion
  • 253- Index
  • 254- About the Author
  • 255- Colophon
  • 256- Copyright

"Learning the bash Shell" Description:

The Open Library:

Learning the bash Shell, Third Edition, is the definitive guide to bash, the Free Software Foundation's "Bourne Again Shell." It's a freely available replacement for the UNIX Bourne shell, and is the shell of choice for users of Linux, Mac OS X, BSD, and other UNIX systems. You'll find this guide valuable whether you're interested in bash as a user interface or for its powerful programming capabilities. This book will teach you how to use bash's advanced command-line features, such as command history, command-line editing, and command completion. This book also introduces shell programming,a skill no UNIX or Linus user should be without. The book demonstrates what you can do with bash's programming features. You'll learn about flow control, signal handling, and command-line processing and I/O. There is also a chapter on debugging your bash programs. Finally, Learning the bash Shell, Third Edition, shows you how to acquire, install, configure, and customize bash, and gives advice to system administrators managing bash for their user communities. This Third Edition covers all of the features of bash Version 3.0, while still applying to Versions 1.x and 2.x. It includes a debugger for the bash shell, both as an extended example and as a useful piece of working code. Since shell scripts are a significant part of many software projects, the book also discusses how to write maintainable shell scripts. And, of course, it discusses the many features that have been introduced to bash over the years: one-dimensional arrays, parameter expansion, pattern-matching operations, new commands, and security improvements. Unfailingly practical and packed with examples and questions for future study, Learning the bash Shell Third Edition is a valuable asset for Linux and other UNIX users. --back cover

Open Data:

O'Reilly's bestselling book on Linux's bash shell is at it again. Now that Linux is an established player both as a server and on the desktop Learning the bash Shell has been updated and refreshed to account for all the latest changes. Indeed, this third edition serves as the most valuable guide yet to the bash shell. As any good programmer knows, the first thing users of the Linux operating system come face to face with is the shell the UNIX term for a user interface to the system. In other words, it's what lets you communicate with the computer via the keyboard and display. Mastering

Read “Learning the bash Shell”:

Read “Learning the bash Shell” by choosing from the options below.

Search for “Learning the bash Shell” downloads:

Visit our Downloads Search page to see if downloads are available.

Find “Learning the bash Shell” in Libraries Near You:

Read or borrow “Learning the bash Shell” from your local library.

Buy “Learning the bash Shell” online:

Shop for “Learning the bash Shell” on popular online marketplaces.


Related Books

Related Ebooks

Source: The Open Library

E-Books

Related Ebooks from the Open Library and The Internet Archive.

1Learning the bash Shell - Ebook

Book's cover

Please note that the files availability may be limited due to copyright restrictions.
Check the files availability here, with more info and coverage.

“Learning the bash Shell - Ebook” Metadata:

  • Title: ➤  Learning the bash Shell - Ebook
  • Publish Date:

Edition Identifiers: