Pro Bash: Learn to Script and Program the GNU/Linux Shell [3 ed.] 1484295870, 9781484295878, 9781484295885

Learn how to effectively utilize the Bash shell in your programming. This refreshed and expanded third edition has been

120 95 1MB

English Pages xxi, 305 Year 2023

Report DMCA / Copyright

DOWNLOAD EPUB FILE

Table of contents :
Table of Contents
About the Authors
About the Technical Reviewer
Acknowledgments
Chapter 1: Hello, World: Your First Shell Program
What Is a Shell Script?
The Hello World Code
The Hello World Program File
Naming the Script File
Selecting a Directory for the Script
Creating the File and Running the Script
Choosing and Using a Text Editor
Building a Better “Hello, World!”
Summary
Commands
Concepts
Variables
Exercises
Chapter 2: Input, Output, and Throughput
Parameters and Variables
Positional Parameters
Special *@#0$?_!- Parameters
Variables
Arguments and Options
Why You Should Avoid echo
printf: Formatting and Printing Data
Escape Sequences
Format Specifiers
Width Specification
Printing to a Variable
Line Continuation
Standard Input/Output Streams and Redirection
Redirection: >, >>, and

Pro Bash: Learn to Script and Program the GNU/Linux Shell [3 ed.]
 1484295870, 9781484295878, 9781484295885

  • Commentary
  • Publisher ePUB | Published: 22 November 2023
  • 0 0 0
  • Like this paper and download? You can publish your own PDF file online for free in a few minutes! Sign Up
Recommend Papers