Book description
Some areas are covered in other books, but this one goes into some little-seen side streets and alleyways to show you the shortcuts to more efficient use of the shell. ...The material here is invaluable: you're not going to get it from the manual pages! I strongly recommend it.
- Ernest J.
This is a totally neat idea for a book... the command line gets addictive quickly.
- Bill Ryan, Bill's House O Insomnia
This comprehensive, hands-on guide focuses on two of the most popular and feature-rich shells, bash and zsh. From Bash to Z Shell: Conquering the Command Line is a book for all skill levels. Novices will receive an introduction to the features of shells and power users will get to explore the benefits of zsh--one of the most powerful, versatile shells ever written. Intermediate users will uncover hints, recipes, and ideas to enhance their skill sets.
The book covers shell programming, but is unique in its thorough coverage of using shells interactively--a powerful and time-saving alternative to windows and a mouse. This strong author team has written an immediately useful book, packed with examples and suggestions that users of Unix, Linux, Mac OS X and Microsoft Windows can readily apply.
Table of contents
- Title Page
- Contents at a Glance
- Contents
- About the Authors
- About the Technical Reviewers
- Acknowledgments
- Preface
-
PART 1: Introducing the Shell
-
CHAPTER 1: Introduction to Shells
- What's a Shell?
- Getting Started
- Simple Commands
- Command Lines
- Shell Types and Versions
- The Filesystem: Directories, Pathnames
- Where the Commands Are Located
- Relative Pathnames and Your Current Directory
- Building Pathnames with Wildcards
- Expansion and Substitution
- Building Pathnames by Completion
- Command-Line Editing
- Command History
- More Unix Programs
- Summary
-
CHAPTER 2: Using Shell Features Together
- Writing Output to Files: Redirection
- Using Programs Together: Pipes
- Joining Forces
- Editing Data, Continuing Command Lines
- Command Substitution
- for and foreach Loops
- More About for Loops
- Building Our Script
- Making a Script File
- Running the Script
- Programs and the Path
- Using the Results (via Aliases and Functions)
- Summary
- CHAPTER 3: More Shell Features
-
CHAPTER 1: Introduction to Shells
- PART 2: Using bash and zsh
-
PART 3: Extending the Shell
- CHAPTER 12: Variables
- CHAPTER 13: Scripting and Functions
-
CHAPTER 14: Writing Editor Commands
- Widgets and Functions
- Simple Recipe for a Widget
- Making Widgets Behave Naturally
- Case Study I: Multiple Tasks in Widgets
- Case Study 2: Overriding Widgets
- Case Study 3: Locating Command-Line Arguments
- Case Study 4: Chaining Widgets Together
- Approximate Matching
- An Example Widget: Correcting Spelling
- Input and Output Within Widgets
- Summary
- CHAPTER 15: Writing Completion Functions
- APPENDIX A: Unix Programs
- APPENDIX B: External Resources
- APPENDIX C: Glossary
- Index
Product information
- Title: From Bash to Z Shell: Conquering the Command Line
- Author(s):
- Release date: November 2004
- Publisher(s): Apress
- ISBN: 9781590593769
You might also like
book
Linux Shell Scripting Bootcamp
A quick and straightforward approach to writing shell scripts to accomplish different types of tasks on …
book
Pro Bash Programming: Scripting the GNU/Linux Shell
The bash shell is a complete programming language, not merely a glue to combine external Linux …
book
Python Command Line Tools
This book will teach you to master the ultimate UI, the command-line, using the powerful Click …
book
Linux Command Line and Shell Scripting Techniques
Practical and actionable recipes for using shell and command-line scripting on your Linux OS with confidence …