GNU/Linux
While saotn.org has deep roots in the Windows ecosystem, the modern server room is undeniably hybrid. The GNU/Linux section explores the essential tools, distributions, and configurations that power today’s open-source infrastructure. Here, the focus is on interoperability, performance tuning, and the specific nuances of managing Linux environments alongside Windows-centric stacks.
Explore tutorials on Debian/Ubuntu hardening, Bash scripting, and the deployment of open-source services that demand high availability. Whether you are a Windows admin venturing into the shell or a seasoned Linux user looking for specific integration guides (like WSL 2 or cross-platform SSH security), these articles provide the “how-to” without the fluff.
How to display longer username in ps
Display full username in ps. The ps output truncates usernames to 7 characters and a +. If you need full usernames in Bash ps, here is how.
Force HSTS in Apache .htaccess
Learn how to enable HSTS (HTTP Strict Transport Security) in Linux Apache .htaccess. I wrote about enabling HTTP Strict Transport Security (HSTS) in IIS earlier. But what about enabling HSTS in Apache .htaccess? Here is how.
Bash function to generate a secure random alphanumeric string
You can use this Bash function in your .bashrc file to generate a random alphanumeric string easily. This comes in handy when you need to generate a long, secure password for example. Adjust to your needs.
Release hold queue email in Postfix – postsuper
The postsuper command controls different types of queues in the Postfix mail system, like the deferred or hold queue. This post shows you some Postfix queue operations to maintain your mail servers.
Restore single MySQL table from a full mysqldump backup file
Learn how to restore a single table from a full MySQL mysqldump backup file using Bash shell in Linux
MySQL InnoDB performance improvement: InnoDB buffer pool instances – Updated!
Are you running into MySQL load problems? InnoDB Buffer Pool optimization is an important step in tuning MySQL servers for a heavy InnoDB workload. Configuring innodb_buffer_pool_instances and increase read/write I/O threads. Dividing the InnoDB buffer pool into multiple instances can improve Disk I/O. And by doing so, you run your database & server more efficiently and faster. Here is a little help for you.
Turn off swap
Learn how to turn off swap in Bash, because when a swap partition is enabled Linux starts swapping, which may degrade (MySQL) system performance
Convert decimal to hex in Bash, hexadecimal to decimal and dates to Unix timestamp
Cconvert decimal to hex hexadecimal to decimal and Unix timestamps in Linux Bash. A quicky for my archives.
Delete all MAILER-DAEMON emails in Postfix queue
How to delete all MAILER-DAEMON emails from your Postfix queue, when it matches a sender or recipient email address condition. In Postfix, there are various similar commands to delete messages from the Postfix mail queue, based on the Message-ID and/or email address for example...
Bash: Grep through a large number of files – “Argument list too long”
/bash/grep and /bash/rm give me an error Argument list too long. Here is how to overcome this error with Bash grep and rm.
Installing Debian GNU/Linux 7.0 (Wheezy) on HP EliteBook 8570w
I was FedUp with Fedora Core 17/18 after a day, so I decided to return to my old love: Debian GNU/Linux. It's been a couple of years, but I'm happy to be back! Just run the netinst installer which will take care of the most.
Check IP address blacklist status in Bash
Here is a Linux Bash shell script to check whether an IP address is listed in a DNSBL blacklist, or RBL. Using this script in Bash you can quickly test if an IP address is blacklisted.