Pro Bash: Learn to Script and Program the GNU/Linux Shell
Autor Jayant Varmaen Limba Engleză Paperback – 8 noi 2023
Using this book you will be able to use the shell efficiently, make scripts run faster using expansion and external commands, and understand how to overcome many common mistakes that cause scripts to fail. This book is perfect for all beginning Linux and Unix system administrators who want to be in full control of their systems, and really get to grips with Bash programming.
The Bash shell is a complete programming language, not merely a glue to combine external Linux commands. By taking full advantage of Shell internals, Shell programs can perform as snappily as utilities written in C or other compiled languages. And you will see how, without assuming UNIX lore, you can write professional Bash programs through standard programming techniques.
What You'll Learn
- Use the Bash shell to write utilities and accomplish most programming tasks
- Replace many external commands with shell parameter expansion making scripts very fast
- Avoid many common mistakes that cause scripts to fail
- See how Bash’s read line and history libraries can save typing when getting user input
- Build shell scripts that get information from the Web
Developers, programmers, and open source enthusiasts who want to write scripts using Bash on multiple platforms
Preț: 258.98 lei
Preț vechi: 323.73 lei
-20% Nou
Puncte Express: 388
Preț estimativ în valută:
49.56€ • 52.14$ • 41.03£
49.56€ • 52.14$ • 41.03£
Carte disponibilă
Livrare economică 24 decembrie 24 - 07 ianuarie 25
Preluare comenzi: 021 569.72.76
Specificații
ISBN-13: 9781484295878
ISBN-10: 1484295870
Pagini: 305
Ilustrații: XXI, 305 p. 12 illus.
Dimensiuni: 178 x 254 mm
Greutate: 0.57 kg
Ediția:3rd ed.
Editura: Apress
Colecția Apress
Locul publicării:Berkeley, CA, United States
ISBN-10: 1484295870
Pagini: 305
Ilustrații: XXI, 305 p. 12 illus.
Dimensiuni: 178 x 254 mm
Greutate: 0.57 kg
Ediția:3rd ed.
Editura: Apress
Colecția Apress
Locul publicării:Berkeley, CA, United States
Cuprins
1. Hello, World: Your First Shell Program.- 2. Input, Output and Throughput.- 3. Looping and Branching.- 4. Command-Line parsing and Expansion.- 5. Parameters and Variables.- 6. Shell Functions.- 7. String Manipulation.- 8. File Operations and Commands.- 9. Reserved Words and Built-in Commands.- 10. Writing Bug-Free Scripts and Debugging the Rest.- 11. Programming for the Command Line.- 12. Runtime Configuration.- 13. Data Processing.-14. Scripting the Screen.- 15. Entry Level Programming.
Recenzii
“This is an excellent reference book for those who need to write Bash scripts. It is well organized, logically presented, and covers all the major commands and structures that are necessary to write useful scripts. … Each chapter ends with a summary, a list of the commands introduced, and some exercises for the reader to try in order to practice the skills they have just learned.” (Michael Oudshoorn, Computing Reviews, February 15, 2024)
Notă biografică
Jayant Varma is the founder of OZ Apps (www.oz-apps.com), a consulting and development company providing IT solutions. He is an experienced developer with more than 30 years of industry experience spread across several countries. As well as being a university lecturer in Australia where he currently resides, he is the author of a number of books topics like SwiftUI Lua and Xcode as well as Open Source topics like Linux, Bash and Shell Scripting . He loves to travel and finds Europe to be his favorite destination.
Textul de pe ultima copertă
Learn how to effectively utilize the Bash shell in your programming. This refreshed and expanded third edition has been updated to Bash 5.2, and many scripts have been rewritten to make them more idiomatically Bash, taking better advantage of features specific to Bash. It is easy to read, understand, and will teach you how to get to grips with Bash programming without drowning you in pages and pages of syntax.
Using this book you will be able to use the shell efficiently, make scripts run faster using expansion and external commands, and understand how to overcome many common mistakes that cause scripts to fail. This book is perfect for all beginning Linux and Unix system administrators who want to be in full control of their systems, and really get to grips with Bash programming.
The Bash shell is a complete programming language, not merely a glue to combine external Linux commands. By taking full advantage of Shell internals, Shell programs can perform as snappily as utilities written in C or other compiled languages. And you will see how, without assuming UNIX lore, you can write professional Bash programs through standard programming techniques.
You will:
The Bash shell is a complete programming language, not merely a glue to combine external Linux commands. By taking full advantage of Shell internals, Shell programs can perform as snappily as utilities written in C or other compiled languages. And you will see how, without assuming UNIX lore, you can write professional Bash programs through standard programming techniques.
You will:
- Use the Bash shell to write utilities and accomplish most programming tasks
- Replace many external commands with shell parameter expansion making scripts very fast
- Avoid many common mistakes that cause scripts to fail
- See how Bash’s read line and history libraries can save typing when getting user input
- Build shell scripts that get information from the Web
Caracteristici
Explore how to use shell parameters to replace many external commands making scripts run faster Learn to avoid many common mistakes that cause scripts to fail Fully updated and expanded to include Bash 5.2