Classic Shell Scripting: Hidden Commands that Unlock the Power of Unix (Google eBook)

Front Cover
"O'Reilly Media, Inc.", May 16, 2005 - Computers - 560 pages
18 Reviews

Shell scripting skills never go out of style. It's the shell that unlocks the real potential of Unix. Shell scripting is essential for Unix users and system administrators-a way to quickly harness and customize the full power of any Unix system. With shell scripts, you can combine the fundamental Unix text and file processing commands to crunch data and automate repetitive tasks. But beneath this simple promise lies a treacherous ocean of variations in Unix commands and standards. Classic Shell Scripting is written to help you reliably navigate these tricky waters.Writing shell scripts requires more than just a knowledge of the shell language, it also requires familiarity with the individual Unix programs: why each one is there, how to use them by themselves, and in combination with the other programs. The authors are intimately familiar with the tips and tricks that can be used to create excellent scripts, as well as the traps that can make your best effort a bad shell script. With Classic Shell Scripting you'll avoid hours of wasted effort. You'll learn not only write useful shell scripts, but how to do it properly and portably.The ability to program and customize the shell quickly, reliably, and portably to get the best out of any individual system is an important skill for anyone operating and maintaining Unix or Linux systems. Classic Shell Scripting gives you everything you need to master these essential skills.

  

What people are saying - Write a review

User ratings

5 stars
7
4 stars
5
3 stars
4
2 stars
1
1 star
1

Review: Classic Shell Scripting: Hidden Commands that Unlock the Power of Unix

User Review  - Celso Crivelaro - Goodreads

The best book I've read about Shell Script. This book contains topics from baby steps to advanced scripts used in production servers. All topics are detailed with easy examples to be replicated in ... Read full review

Review: Classic Shell Scripting: Hidden Commands that Unlock the Power of Unix

User Review  - Vahid - Goodreads

THE BEST book on UNIX Shell Scripting, IF you are more than a novice. For beginners, No Starch Press' "Linux Command Line" by "William E. Shotts, Jr." is an amazing starting book. Read full review

Contents

Foreword
Background 1
Getting Started 8
Searching and Substitutions 30
Pipelines Can Do Amazing Things 87
Variables Making Decisions and Repeating Actions 109
Input and Output Files and Command Evaluation 140
Enough awk to Be Dangerous 223
Spellchecking 325
Processes 352
Shell Portability Issues and Extensions 381
Getting Started 413
vi
Bibliography 478
Glossary 484
Index 509

Working with Files 267
Merging User Databases 308

Common terms and phrases

About the author (2005)

Arnold Robbins is a professional programmer and technical author who has worked with Unix systems since 1980 and has been using AWK since 1987. As a member of the POSIX 1003.2 balloting group, he helped shape the POSIX standard for AWK. Arnold is currently the maintainer of gawk and its documentation. He is coauthor of the sixth edition of O'Reilly's Learning the vi Editor.

Bibliographic information