Shell Scripting: Expert Recipes for Linux, Bash, and More
Buy Rights Online Buy Rights

Rights Contact Login For More Details

More About This Title Shell Scripting: Expert Recipes for Linux, Bash, and More

English

A compendium of shell scripting recipes that can immediately be used, adjusted, and applied

The shell is the primary way of communicating with the Unix and Linux systems, providing a direct way to program by automating simple-to-intermediate tasks. With this book, Linux expert Steve Parker shares a collection of shell scripting recipes that can be used as is or easily modified for a variety of environments or situations. The book covers shell programming, with a focus on Linux and the Bash shell; it provides credible, real-world relevance, as well as providing the flexible tools to get started immediately.

  • Shares a collection of helpful shell scripting recipes that can immediately be used for various of real-world challenges
  • Features recipes for system tools, shell features, and systems administration
  • Provides a host of plug and play recipes for to immediately apply and easily modify so the wheel doesn't have to be reinvented with each challenge faced

Come out of your shell and dive into this collection of tried and tested shell scripting recipes that you can start using right away!

English

Steve Parker is an IT consultant specializing in Solaris and GNU/Linux. He has been providing consultancy services for more than a decade. He is the author of the popular Bourne Shell Programming/Scripting Tutorial (http://steve-parker.org/sh/sh.shtml), which sees more than one million visitors a year.

English

INTRODUCTION xxix

PART I: ABOUT THE INGREDIENTS.

CHAPTER 1: THE HISTORY OF UNIX, GNU, AND LINUX 3

CHAPTER 2: GETTING STARTED 15

CHAPTER 3: VARIABLES 33

CHAPTER 4: WILDCARD EXPANSION 67

CHAPTER 5: CONDITIONAL EXECUTION 83

CHAPTER 6: FLOW CONTROL USING LOOPS 111

CHAPTER 7: VARIABLES CONTINUED 139

CHAPTER 8: FUNCTIONS AND LIBRARIES 161

CHAPTER 9: ARRAYS 199

CHAPTER 10: PROCESSES 219

CHAPTER 11: CHOOSING AND USING SHELLS 255

PART II: RECIPES FOR USING AND EXTENDING SYSTEM TOOLS.

CHAPTER 12: FILE MANIPULATION 279

CHAPTER 13: TEXT MANIPULATION 315

CHAPTER 14: TOOLS FOR SYSTEMS ADMINISTRATION 353

PART III: RECIPES FOR SYSTEMS ADMINISTRATION.

CHAPTER 15: SHELL FEATURES 409

CHAPTER 16: SYSTEMS ADMINISTRATION 427

CHAPTER 17: PRESENTATION 459

CHAPTER 18: DATA STORAGE AND RETRIEVAL 471

CHAPTER 19: NUMBERS 483

CHAPTER 20: PROCESSES 501

CHAPTER 21: INTERNATIONALIZATION 517

PART IV: REFERENCE.

APPENDIX: FURTHER READING 529

GLOSSARY 533

INDEX 539

loading