“Safe ways to do things in bash” is yet another guide to some of the best practices for writing bash scripts. It covers all the usual bits of quoting, escaping, error handling, and more.
Tag: command line
The AWK Programming Language
I came across the “The AWK Programming Language” book in PDF format. This is so handy that I’ll host a copy of the file just in case.
commandlinefu – a place to share and gather command line wisdom
commandlinefu is a place to learn and share your knowledge about command line tools and techniques. It has thousands of tips, tricks, and handy shortcuts, covering a wide range of tools from shells and editors to version control and remote access.
Hacker News : What are your favorite terminal programs?
This Hacker News thread is full of useful and cool command line applications. Check them out, if you want to challenge or change your fingertip memory.
Vim, cfdo, Ale and RipGrep
This blog post goes over several grep-like tools and their integration with Vim. If that’s something you do often, it’s worth a read. The tools are:
- Vim’s built-in “:cdo” and “:cfdo” commands. Here’s another blog post with a nice explanation of what these are and how to use them.
- Ale – asynchronous lint engine.
- RipGrep – a very fast tool for recursively searching directories for a regular expression. Extra bits for Vim integration are provided by the vim-ripgrep plugin.