Tag Archives: linux

HOWTO: Mount your USB hard drives at boot time on Ubuntu

I’ve got a number of external USB hard drives connected to my ubuntu server that need to mount to a predictable directory. When you log into Gnome, the desktop environment does it’s nifty thing and mounts any drive you’ve got … Continue reading

Posted in Technical HOWTOs | Tagged , , , , , | Leave a comment

OpenDNS updater for linux/ubuntu

The OpenDNS service is great — it provides anti-phishing and the ability to filter out some of the less desirable detritus from the internets. OpenDNS needs to be periodically notified about what your IP address is, and I don’t have … Continue reading

Posted in Technical HOWTOs | Tagged , , , | 3 Comments

Verifying file integrity with debsums

After upgrading my Ubuntu server, some security applications grumped about changed contents of some common binaries. Just to be safe, I wanted to verify them explicitly with debsums, but debsums looks for package names, not paths to binaries. Here’s a … Continue reading

Posted in Technical HOWTOs | Tagged , , , , , | Leave a comment

Running a command for all files whose name matches…

I found a stray image named “img_1234.jpg” on a laptop and wanted to see if I already had it on my server. On my Mac I could use spotlight’s nifty “kind:image” filter along with quicklook. Macworld has a great article … Continue reading

Posted in Technical HOWTOs | Tagged , , | Leave a comment

DegradedArray event on /dev/md0:gronk

Due to an unscheduled powercycle on my linux server, I got a very troubling page from mdadm, the multi-disk administrator, saying it had marked one of the disks as failed. This, presumably, was due to a flaky SATA controller that … Continue reading

Posted in Technical HOWTOs | Tagged , , , | Leave a comment

Recursive sort-by-modification-time

This certainly isn’t rocket science, but it also is certainly not something you want to type more than once. find . -type f -printf ‘%T@\t%p\n’ | sort -n | cut -f2 And an application using feh: find . -type f … Continue reading

Posted in Technical HOWTOs | Tagged , , | 1 Comment