Command-line hacking

Command-line hacking: Assigning folder icons to directories

How to use basic Bash constructs, along with the Gnome gio utility, to assign folder icons to a set of directories.

Categories: Linux, command-line hacking

Command-line hacking: calculating the phase of the Moon

How to use Bash shell arithmetic, along with the 'date' utilty, to calculate the phase of the Moon on a particlar day.

Categories: Linux, command-line hacking

Command-line hacking: displaying news headlines in the manual viewer

How to use tools like curl and xsltproc to retrieve news headlines from the BBC, and display them using the manual viewer

Categories: Linux, command-line hacking

Command-line hacking: paced breathing

Using a Linux Bash script to generate audio/visual cues for timing paced breathing exercises.

Categories: Linux, command-line hacking

Command-line hacking: querying an Internet radio database

Using Linux command-line utilities to query an on-line database of Internet radio stations.

Categories: Linux, command-line hacking

Command-line hacking: extracting audio metadata (tags)

How to use Bash shell techniques to extract metadata (tags) from various audio file formats.

Categories: Linux, command-line hacking

Command-line hacking: displaying system temperature

Using simple file and string handling techniques in the Bash shell.

Categories: Linux, command-line hacking

Command-line hacking: creating a tide table

How to use Bash shell arithmetic to create a simple tide table

Categories: Linux, command-line hacking

Command-line hacking: displaying a weather summary

How to use tools like curl, sed, and groff to retrieve a weather forecast from the BBC, and format it for the terminal.

Categories: Linux, command-line hacking

Command-line hacking: timezone conversions

Using 'date' and 'timedatectl' to build a utility to help with scheduling meetings in different timezones.

Categories: Linux, command-line hacking