systemd Cheat Sheet

systemctl List units systemctl systemctl start/stop/restart/reload unit systemctl status unit systemctl is-enabled unit systemctl mask unit – Prevent a unit from starting systemctl unmask unit – Allow a unit to start systemctl reboot/poweroff Copy the unit file and create a custom version (overriding the original) systemctl edit –full unit Show units that failed to start… Continue reading systemd Cheat Sheet

Published
Categorized as Debian

Maildir Archive

Recently I’ve become aware of how big my Maildir mailboxes are getting. I keep a running record of much of my correspondence and don’t want to delete it but at the same time I don’t want to load every message each time I open a mailbox. Google came up with a couple of archive scripts… Continue reading Maildir Archive

Published
Categorized as Debian

Why Windows 7?

A few days ago I pre-ordered Microsoft Windows v7. This was quite a milestone event for me as I’d decided that after the flop of Vista, my next desktop upgrade from XP would be to Debian Linux. Not only is Linux free, I’m also very familiar with it. All my machines except the desktop already… Continue reading Why Windows 7?

What’s Up Net?

Since converting my home network to DHCP, I’ve been struggling to keep track of what devices/addresses are in use. Not because I’m poor at record keeping but rather because three teenage kids in the house like messing about with their PC / Hecksbox / Wii configurations. The following command came to my rescue. nmap -sP… Continue reading What’s Up Net?

Recursive chmod

My music collection is complicated, I rip my CD’s on a Linux server, FTP them to a Windows server. Manipulate ID tags and filenames using various means, then FTP them back again in order to play them through my Squeezebox. This recently caused me grief when I used an incorrect umask on a massive transfer,… Continue reading Recursive chmod

Published
Categorized as Debian

Mutt – Sorting and Threading

After years of being irritated by Mutt threading my messages by Subject and then sorting those threads by oldest message in them, I finally took the time to figure out how to get it doing what I want. As is often the case with Mutt all this info was widely available, it was just scattered… Continue reading Mutt – Sorting and Threading

Published
Categorized as Debian

Image Manipulation

In a recent blog article I used WordPress to embed images into a posting. This was very simple to do but there is a drawback: The image embedded within the post is identical in size and resolution to the one viewed if the image hyperlink is clicked. This makes the post and initial webpage very… Continue reading Image Manipulation

Published
Categorized as Debian

Encrypted Filesystems Revised

Some years back I blogged about encrypted filesystems. That info is still valid but times have moved on and there are other, better ways now. I can’t take any credit for this info, it all comes from the blog of Lars Strand. My thanks to him for taking the trouble to make it public. I’m… Continue reading Encrypted Filesystems Revised

Published
Categorized as Debian

Examining X509 Certificates

I have to look up these commands far too often! Issuer openssl x509 -noout -in cert.pem -issuer Common Name openssl x509 -noout -in cert.pem -subject Validity Dates openssl x509 -noout -in cert.pem -dates Hash Value openssl x509 -noout -in cert.pem -hash SHA1 fingerprint openssl x509 -noout -in cert.pem -fingerprint MD5 fingerprint openssl x509 -md5 -noout… Continue reading Examining X509 Certificates

Debian Performance Monitoring

The title really should read system or resource monitoring, but performance monitoring seems to be the industry buzzword for checking up on what’s using what resource. First on the list has to be top. This is a great tool for monitoring CPU and Memory utilization by process. As its name suggests, the highest resource users… Continue reading Debian Performance Monitoring

Published
Categorized as Debian

Postfix can do anything, (providing I know how to configure it).

I have issues with my current Mixmaster remailer configuration and I’m struggling for a solution. Currently the remailer sends messages via smtp relay through a VPN tunnel to a Postfix MTA in another country. This is good because it seperates the actual remailer from its exit-point and abuse reports go where I want them to… Continue reading Postfix can do anything, (providing I know how to configure it).

Published
Categorized as Debian

Ogg Vorbis Tagging

Having decided to try out allofmp3.com following all the recent hype about it. I was delighted to discover they allow me to download songs in Ogg Vorbis format. As a free software advocate, this is much more desirable than MP3 as it’s an Open Source format. The only problem was that the songs didn’t include… Continue reading Ogg Vorbis Tagging

Published
Categorized as Debian

Debian RAID boot

How to make a Debian RAID’ed boot partition using grub

Published
Categorized as Debian