Scripted IP lookup in the terminal
Writing a Bash script to make it easier to do IP lookups from within the terminal.
Installing Block-based themes with WPCLI
I wanted a way to quickly and easily install all Block-based WordPress themes so that I could start examining the code used to build them!
Using Awk to Convert CSV Crypto Transactions into Ledger-cli entries
Awk isn’t only a sysadmin tool. Here’s an example of converting a CSV file of cryptocurrency transactions into a format that Ledger-cli can understand.
Intro to Using Awk
Awk is a powerful tool for working with text on the command line. Find out what awk is, as well as examples for making sense of an Nginx access log.
Scripting Vim from the Command Line
An example of automating text editing by running Vim from within a shell script.
Extracting Single Files From a Zip
I’ve been working with lots of zip files lately – site backups mostly. Often times this is because of some error message referring to a file contained within the archive. When the zip is quite large, having to extract gigabytes of information just to view the contents of one file is annoying. Because of this […]