目錄(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
推薦閱讀
- Getting Started with Gulp(Second Edition)
- R語言經典實例(原書第2版)
- OpenCV for Secret Agents
- Python網絡爬蟲從入門到實踐(第2版)
- Apache Spark Graph Processing
- TypeScript圖形渲染實戰:基于WebGL的3D架構與實現
- JavaScript by Example
- Scala謎題
- 學Python也可以這么有趣
- QGIS By Example
- Mathematica Data Analysis
- Android程序設計基礎
- 區塊鏈技術進階與實戰(第2版)
- 代替VBA!用Python輕松實現Excel編程
- Unity 5.X從入門到精通
- 多媒體技術及應用
- 官方 Scratch 3.0 編程趣味卡:讓孩子們愛上編程(全彩)
- Processing開發實戰
- 劍指大數據:企業級電商數據倉庫項目實戰(精華版)
- 趣味掌控板編程
- Spring Microservices
- Pentaho Analytics for MongoDB Cookbook
- Java Web應用設計及實戰
- 物聯網軟件架構設計與實現
- More Effective C++:35個改善編程與設計的有效方法(中文版)
- Elasticsearch技術解析與實戰
- Python數據分析實戰
- Learning pandas(Second Edition)
- 企業數字化轉型與工業4.0漸進之路:電子元器件行業視角
- Sencha Touch Cookbook