Bash is a powerful tool. It may glue systems together. It may glue workflows together. It can close gaps in workflows. It exposes the power of the command line to any workflow. It’s the force. Master it and you will move mountains.
Bootcamp
Get up to speed quickly.
Command Guides
- xargs: The One Liner Chainsaw!
- curl: Make HTTP requests
- cut: Like
split
in many programming languages - find: Search for files or directories
- comm: Set logic (and, or, intersect)
My Standard Lib
What follows is my own standard library of useful Bash functions.
They’re handy when writing scripts. Copy and use at will. The log::*
functions are especially handy for providing transparency to users.
Output is nicely colored too.