Synopses & Reviews
The authoritative guide to Linux command line and shell scripting?completely updated and revised [it's not a guide to Linux as a whole ? just to scripting]
The Linux command line allows you to type specific Linux commands directly to the system so that you can easily manipulate files and query system resources, thereby permitting you to automate commonly used functions and even schedule those programs to run automatically. This new edition is packed with new and revised content, reflecting the many changes to new Linux versions, including coverage of alternative shells to the default bash shell. For this edition, the author has teamed up with another Linux expert ? with their shared expertise, they take you beyond the basics of shell scripting and guide you through using shell scripting for higher-level applications that are commonly found in Linux environments. In addition, this edition features a host of real-world examples, so you can see how the scripts work in application.
- Reflects changes to new Linux versions and covers alternate shells to the default bash shell
- Offers new chapters on working with file system commands and software installation commands
- Includes a plethora of real-world examples of advanced shell scripting
- Shows how to use shell scripts in a graphical desktop environment
With Linux Command Line and Shell Scripting Bible you'll learn to manage file systems, install software, write scripts for graphical desktops, work with alternative shells, and more.
"Linux Command Line and Shell Scripting Bible 2e" goes beyond the basics of shell scripting and includes advanced material to guide readers through using shell scripting for more higher-level applications commonly found in Linux environments. The second edition contains an array of new and revised content that reflects changes to new Linux versions and coverage of alternative shells to the default bash shell. As a value-add, three new chapters covering working with file system commands, software installation commands, and advanced shell scripting examples will be added. In addition, content will show how to use shell scripts in a graphical desktop environment integrating with the new chapter on advanced shell scripting examples.
New chapters include: Managing File Systems Installing Software Writing Scripts for Graphical Desktops Working with Alternative Shells Writing Script Utilities Advanced Shell Scripts
Here's all you need to master Linux commands and shells
Revised, updated, and even more jam-packed with helpful information, this new edition has what you need to master Linux command lines and shell scripts, whether you're a novice or a Linux pro. Even home users will discover a wealth of commands and time-savers that many Linux desktop distributions keep hidden. Best of all, this guide includes a greatly expanded array of real-world, applicable scripts for advanced users. You'll soon be able to automate practically any task on your Linux system.
Work from the command line and learn basic shell commands
Write shell scripts to automate routine functions and reports
Control how and when your shell scripts run on the system
Learn advanced methods of manipulating data in your scripts
Modify your scripts for graphical desktops and other Linux shells
Extract data from Web sites and send data between systems
Create professional-quality shell scripts for use in real-world environments
Use command lines and bypass the GUI
Automate common tasks
Create professional, real-world scripts
About the Author
has worked in the IT industry for more than 22 years as both a systems and network administrator. He has administered UNIX, Linux, Novell, and Microsoft servers, as well as automated network monitoring with Linux shell scripts and written scripts in most of the common Linux shell environments. Richard is the author of several books, including Professional Linux Programming
Christine Bresnahan has worked with computers for more than 25 years as an IT system administrator. She is an Adjunct Professor at Ivy Tech Community College in Indianapolis, Indiana, where she teaches Linux system administration, Linux security, and Windows security.
Table of Contents
Part I: The Linux Command Line.
Chapter 1: Starting with Linux Shells.
Chapter 2: Getting to the Shell.
Chapter 3: Basic bash Shell Commands.
Chapter 4: More bash Shell Commands.
Chapter 5: Using Linux Environment Variables.
Chapter 6: Understanding Linux File Permissions.
Chapter 7: Managing Filesystems.
Chapter 8: Installing Software.
Chapter 9: Working with Editors.
Part II: Shell Scripting Basics.
Chapter 10: Basic Script Building.
Chapter 11: Using Structured Commands.
Chapter 12: More Structured Commands.
Chapter 13: Handling User Input.
Chapter 14: Presenting Data.
Chapter 15: Script Control.
PART III: Advanced Shell Scripting.
Chapter 16: Creating Functions.
Chapter 17: Writing Scripts for Graphical Desktops.
Chapter 18: Introducing sed and gawk.
Chapter 19: Regular Expressions.
Chapter 20: Advanced sed.
Chapter 21: Advanced gawk.
Chapter 22: Working with Alternative Shells.
Part IV: Advanced Shell Scripting Topics.
Chapter 23: Using a Database.
Chapter 24: Using the Web.
Chapter 25: Using E-mail.
Chapter 26: Writing Script Utilities.
Chapter 27: Advanced Shell Scripts.
Appendix A: Quick Guide to bash Commands.
Appendix B: Quick Guide to sed and gawk.