In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Content introduction
Shell scripting (scripting) techniques are never out of date: they allow UNIX to reach its true potential. For uNIx users and system managers, writing shell scripts is a must, which allows you to quickly control and customize the powerful functions of any UNIX system. With Shell scripts, you can combine basic UNIX text and file processing commands to digest data and automate repetitive work. Once you have a good command of Shell scripting, these techniques will be very helpful to you over the next few years.
Writing shell scripts requires not only knowledge of the shell language, but also familiarity with individual uNIx programs: you must know why each program is there and how to use it or combine it with other programs. This book will tell you about the mainstream tools of UNIX. In addition, this book will also help you resolve the differences between UNIX commands and standards.
The author is familiar with the subtle differences in the basic skills and operations used by UNIx programs. They will not only tell you how to build a great script, but also teach you how to avoid falling into the trap of falling short of your success. With this book, you can save a lot of energy.
Not only do we need to learn how to write useful Shell scripts, but you also need to know how to quickly and truly customize Shell to optimize program portability and get rid of system-specific dependencies. These skills are important to anyone who operates and maintains UNIX and Linux systems. The knowledge provided in this book will help you master basic Shell scripting skills.
Catalogue
Order
Preface
Chapter 1 background knowledge
1.1 A brief history of UNIX
1.2 principles of software tools
1.3 Summary
Chapter 2 getting started
2.1 differences between scripting languages and compiled languages
2.2 Why use Shell scripts
2.3 A simple script
2.4 self-sufficient script: # on the first line!
Basic elements of 2.5 Shell
2.6 access to parameters of the Shell script
2.7 simple execution tracking
2.8 internationalization and localization
2.9 Summary
Chapter 3 find and replace
3.1 find text
3.2 regular expression
3.3 Field processing
3.4 Summary
Chapter 4 text processing tools
4.1 sort text
4.2 remove duplicates
4.3 reformat paragraphs
4.4 calculate the number of lines, words and characters
4.5 Printing
4.6 extract the first or last lines
4.7 Summary
Chapter 5 the Magic of pipes
5.1 extracting data from structured text files
5.2 structured data for Web
5.3 A good helper in solving puzzles
5.4 word list
5.5 list of tags
5.6 Summary
Chapter 6 variables, judgments, repetitive actions
6.1 variables and arithmetic
6.2 exit status
6.3 case statement
……
Chapter 7 input / output, File and Command execution
Chapter 8 generate script
Chapter 9 amazing performance of awk
Chapter 10 document processing
Chapter 11 extended example: merging user databases
Chapter 12 spell check
Chapter 13 process
Chapter 14 Shell portability issues and extensions
Chapter 15 secure Shell script: starting Point
Appendix A preparation of man pages
Appendix B documents and file systems
Appendix C important UNIX commands
Reference bibliography
Download address: shell script Learning Guide
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.