Latest Articles

Auto-Update /etc/hosts

This was a silly solution to a silly problem, but may come in handy in the future for other things. A user process was...

Find Large Folders

When you get a filesystem space alert (and they tend to arrive at 3:37 on Saturday morning), deleting various supersized log files is one...

Laziness vs Phishing

Here's an interesting article "How Coinbase Phishers Steal One-Time Passwords – Krebs on Security." 14 Oct. 2021, krebsonsecurity.com/2021/10/how-coinbase-phishers-steal-one-time-passwords. detailing the methods scammers use to...

Synology NAS Hacks

I've been using various Synology NAS devices for many years now, and they're great. Well, almost. There are a few rough spots that don't...

Generating Honeypot Data Structure

I've been fiddling with my inotifywatch scripts to make a better "early-warning" system for ransomware detection and realized I needed a more realistic honeypot...

Automatic File Backups in VIM

Having to undo stupid changes to config files is an unfortunate side effect of too few sysadmins supporting too many servers. The VIM editor...

Deleting Hidden Files

This simplest of problems just never fails to find a new victim. For whatever reason you want to delete all hidden files in the...

Quickly Grow tmpfs filesystem

Just a quick command to double the size of the /tmp filesystem that uses tmpfs. This is  for those situations when you can't be...

Duck Duck Go Search from Shell

The ddgr python script is a command line interface for Duck Duck Go  - a privacy-oriented search engine that, unlike Google, will not give...