目錄(106章)
倒序
- 封面
- 版權頁
- Credits
- About the Author
- About the Reviewer
- 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. What and Why of Scripting with Bash
- Bash vulnerabilities
- The bash command hierarchy
- Preparing text editors for scripting
- Creating and executing scripts
- Debugging your scripts
- Summary
- Chapter 2. Creating Interactive Scripts
- Using echo with options
- Basic script using read
- Script comments
- Enhancing scripts with read prompts
- Limiting the number of entered characters
- Controlling the visibility of entered text
- Enhancing learning with simple scripts
- Summary
- Chapter 3. Conditions Attached
- Simple decision paths using command-line lists
- Verifying user input with lists
- Using the test shell builtin
- Creating conditional statements using if
- Extending if with else
- More conditions with elif
- Using case statements
- Script – building a front-end with grep
- Summary
- Chapter 4. Creating Code Snippets
- Abbreviations
- Using code snippets
- Summary
- Chapter 5. Alternative Syntax
- Recapping test
- Providing parameter defaults
- When in doubt – Quote!
- Advanced test using [[
- Arithmetic operations using ((
- Summary
- Chapter 6. Iterating with Loops
- For loops
- Controlling the loop
- Reading input from files
- Creating operator menus
- Summary
- Chapter 7. Creating Building Blocks with Functions
- Introducing functions
- Passing parameters to functions
- Returning values from functions
- Using functions in menus
- Summary
- Chapter 8. Introducing sed
- Using grep to display text
- Using regular expressions
- Understanding the basics of sed
- Summary
- Chapter 9. Automating Apache Virtual Hosts
- Apache name-based Virtual Hosts
- Automating Virtual Host creation
- Summary
- Chapter 10. Awk Fundamentals
- The history behind awk
- Displaying and filtering content from files
- Formatting output
- Further filtering to display users by UID
- Awk control files
- Summary
- Chapter 11. Summarizing Logs with Awk
- The HTTPD log file format
- Displaying data from web logs
- Displaying the highest ranking IP address
- Displaying the browser data
- Working with e-mail logs
- Summary
- Chapter 12. A Better lastlog with Awk
- Using awk ranges to exclude data
- Conditions based on the number of fields
- Manipulating the awk record separator to report on XML data
- Summary
- Chapter 13. Using Perl as a Bash Scripting Alternative
- What is Perl?
- Hello World
- Perl arrays
- Conditional statements in Perl
- Using functions within Perl
- Summary
- Chapter 14. Using Python as a Bash Scripting Alternative
- What is Python?
- Saying Hello World the Python way
- Pythonic arguments
- Significant whitespace
- Reading user input
- Summary
- Index 更新時間:2021-07-30 09:41:07
推薦閱讀
- Advanced Quantitative Finance with C++
- Python程序設計教程(第2版)
- Learning ArcGIS Pro 2
- 控糖控脂健康餐
- DevOps入門與實踐
- Linux命令行與shell腳本編程大全(第4版)
- JavaScript:Moving to ES2015
- Learn React with TypeScript 3
- Python網絡爬蟲技術與應用
- Extending Unity with Editor Scripting
- Python Linux系統管理與自動化運維
- Jakarta EE Cookbook
- Developer,Advocate!
- C語言從入門到精通(微視頻精編版)
- JavaScript全棧開發
- Web前端開發全程實戰:HTML5+CSS3+JavaScript+jQuery+Bootstrap
- MATLAB/Simulink建模與仿真
- C++程序設計習題與實驗指導
- 軟件測試實驗實訓指南
- Hands-On Machine Learning with ML.NET
- HTML5與CSS3權威指南(第2版·下冊)
- WordPress Complete(Sixth Edition)
- Three.js開發指南
- Hadoop技術內幕:深入解析YARN架構設計與實現原理
- 計算機應用基礎(第二版)
- TensorFlow深度學習從入門到進階
- Angular從零到一
- Mastering The Faster Web with PHP,MySQL,and JavaScript
- Node.js開發實戰
- Java語言程序設計(第3版)