TOPIC 3 - The power of the command line
3.2 Searching and Extracting Data from Files
- I O Redirection
- Command Line Pipes
- Searching within Files with grep
- Regular Expressions
3.3 Turning Commands into a Script
- Printing Output
- Making a Script Executable
- Commands and PATH
- Execute Permissions
- Defining the Interpreter
- Shell Variables
- Using Quotes with Variables
- Arguments
- Returning the Number of Arguments
- Conditional Logic
- Exit Codes
- Handling Many Arguments
- For Loops
- Using Regular Expressions to Perform Error Checking
File-Directory conditionals