最新章節(jié)
- Index
- Summary
- Using awk
- sed – noninteractive stream editor
- The basics of regular expressions
- Chapter 12. Pattern Matching and Regular Expressions with sed and awk
品牌:中圖公司
上架時間:2021-08-20 09:54:33
出版社:Packt Publishing
本書數(shù)字版權由中圖公司提供,并由其授權上海閱文信息技術有限公司制作發(fā)行
- Index 更新時間:2021-08-20 10:44:47
- Summary
- Using awk
- sed – noninteractive stream editor
- The basics of regular expressions
- Chapter 12. Pattern Matching and Regular Expressions with sed and awk
- Summary
- User initialization scripts
- System startup inittab and run levels
- Chapter 11. System Startup and Customizing a Linux System
- Summary
- Creating dialog boxes with the dialog utility
- Running scripts or processes even if the user logs out
- Using traps in function
- Ignoring signals
- Using the trap command
- Understanding signals and traps
- Chapter 10. Using Advanced Functionality in Scripts
- Summary
- Creating a library of functions
- Running functions in the background
- Returning information from functions
- Declaring local variables in functions
- Sharing the data by many functions
- Passing arguments or parameters to functions
- Understanding functions
- Chapter 9. Working with Functions
- Summary
- The IFS and loops
- Running loops in the background
- Piping the output of a loop to a Linux command
- Using until
- Working with the do while loop
- Exiting from a loop with a break
- Exiting from the current loop iteration with the continue command
- Looping with the for command
- Implementing simple menus with select
- Switching case
- Conditional constructs – if else
- Understanding the test command
- Checking the exit status of commands
- Chapter 8. Automating Decision Making in Scripts
- Summary
- A floating-point arithmetic
- Binary octal and hex arithmetic operations
- Using the expr command for arithmetic
- Using the let command for arithmetic
- Using a command declare for arithmetic
- Chapter 7. Performing Arithmetic Operations in Shell Scripts
- Summary
- Debugging
- File handling
- The here string and the <<< operator
- The here document and the << operator
- Interactive Shell scripts – reading user input
- Chapter 6. Neat Tricks with Shell Scripting
- Summary
- Working with arrays
- Understanding default parameters
- Understanding getopts
- Working with command line arguments (special variables set and shift getopt)
- Working with read-only variables
- Working with environment variables
- Understanding variables
- Chapter 5. Exploring Expressions and Variables
- Summary
- Pipes
- Logical operators
- Command separators
- Command substitution
- Learning shell interpretation of commands
- Chapter 4. Working with Commands
- Summary
- Pattern searching using grep
- Pattern matching with the vi editor
- IO redirection
- Text filtering tools
- Chapter 3. Using Text Processing and Filters in Your Scripts
- Summary
- Understanding "crontab"
- Understanding "at"
- Process monitoring tools – top iostat and vmstat
- Process management
- Monitoring processes using ps
- Introducing process basics
- Chapter 2. Drilling Deep into Process Management Job Control and Automation
- Summary
- Working with permissions
- Working more effectively with shell – basic commands
- Various directories
- When not to use scripts
- Compiler and interpreter – difference in process
- Our first script – Hello World
- Learning basic Linux commands
- Working in shell
- Tasks done by shell
- Comparison of shells
- Chapter 1. Getting Started and Working with Shell Scripting
- Customer support
- Reader feedback
- Conventions
- Who this book is for
- What you need for this book
- What this book covers
- Preface
- Support files eBooks discount offers and more
- www.PacktPub.com
- About the Reviewers
- Acknowledgments
- About the Author
- Credits
- 版權頁
- 封面
- 封面
- 版權頁
- Credits
- About the Author
- Acknowledgments
- About the Reviewers
- www.PacktPub.com
- Support files eBooks discount offers and more
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Chapter 1. Getting Started and Working with Shell Scripting
- Comparison of shells
- Tasks done by shell
- Working in shell
- Learning basic Linux commands
- Our first script – Hello World
- Compiler and interpreter – difference in process
- When not to use scripts
- Various directories
- Working more effectively with shell – basic commands
- Working with permissions
- Summary
- Chapter 2. Drilling Deep into Process Management Job Control and Automation
- Introducing process basics
- Monitoring processes using ps
- Process management
- Process monitoring tools – top iostat and vmstat
- Understanding "at"
- Understanding "crontab"
- Summary
- Chapter 3. Using Text Processing and Filters in Your Scripts
- Text filtering tools
- IO redirection
- Pattern matching with the vi editor
- Pattern searching using grep
- Summary
- Chapter 4. Working with Commands
- Learning shell interpretation of commands
- Command substitution
- Command separators
- Logical operators
- Pipes
- Summary
- Chapter 5. Exploring Expressions and Variables
- Understanding variables
- Working with environment variables
- Working with read-only variables
- Working with command line arguments (special variables set and shift getopt)
- Understanding getopts
- Understanding default parameters
- Working with arrays
- Summary
- Chapter 6. Neat Tricks with Shell Scripting
- Interactive Shell scripts – reading user input
- The here document and the << operator
- The here string and the <<< operator
- File handling
- Debugging
- Summary
- Chapter 7. Performing Arithmetic Operations in Shell Scripts
- Using a command declare for arithmetic
- Using the let command for arithmetic
- Using the expr command for arithmetic
- Binary octal and hex arithmetic operations
- A floating-point arithmetic
- Summary
- Chapter 8. Automating Decision Making in Scripts
- Checking the exit status of commands
- Understanding the test command
- Conditional constructs – if else
- Switching case
- Implementing simple menus with select
- Looping with the for command
- Exiting from the current loop iteration with the continue command
- Exiting from a loop with a break
- Working with the do while loop
- Using until
- Piping the output of a loop to a Linux command
- Running loops in the background
- The IFS and loops
- Summary
- Chapter 9. Working with Functions
- Understanding functions
- Passing arguments or parameters to functions
- Sharing the data by many functions
- Declaring local variables in functions
- Returning information from functions
- Running functions in the background
- Creating a library of functions
- Summary
- Chapter 10. Using Advanced Functionality in Scripts
- Understanding signals and traps
- Using the trap command
- Ignoring signals
- Using traps in function
- Running scripts or processes even if the user logs out
- Creating dialog boxes with the dialog utility
- Summary
- Chapter 11. System Startup and Customizing a Linux System
- System startup inittab and run levels
- User initialization scripts
- Summary
- Chapter 12. Pattern Matching and Regular Expressions with sed and awk
- The basics of regular expressions
- sed – noninteractive stream editor
- Using awk
- Summary
- Index 更新時間:2021-08-20 10:44:47