/usr/bin/mint-fortune: line 35: [: ==: unary operator expected | In Linux Mint Debian Edition, a recent update made the fortune script stop working. I’ll show you how to fix it! 1. Open this file with nano, or your favorite editor: sudo nano /usr/bin/mint-fortune 2. Locate line 35 which looks like this: if [ $showfortunes == "true" ]; then (Tip: in nano, press Control+C to
Prevent Postfix Brute Force | An often used attack vector is brute forcing MTA logins. While most admins watch ssh auth logs like a hawk, email auth/login logs are most often not closely watched for this sort of thing if at all. I’ll show you one way to easily prevent a Postfix brute force attack! This how-to focuses on fail2ban
Linux Mint Debian Edition LMDE Review | I have decided to give Linux Mint Debian Edition a go on my main desktop! Here is my quick minty-fresh brushed metal review. LMDE is Debian testing ever so slightly fine-tuned for the desktop. Elegance is the most apt (pun intended) word to describe LMDE. LMDE is 100% Debian compatible (uses regular Debian repositories), but
Select Fastest Debian Mirror for apt-get | With Debian you can easily auto-detect the fastest mirror for apt-get! First install this package: $ sudo apt-get install netselect-apt Then run the following, adjusting for your desired version. I’m using LMDE, so I’m going to run: $ sudo netselect-apt testing Other examples: sudo netselect-apt [stable|testing|unstable|experimental|release_codename|sid] This will query various debian mirrors then leave a
Compact VirtualBox Hard Disk .vdi | If you use VirtualBox ‘Dynamically Expanding’ disk images, you can also compact the image back down in size. This example shows how to shrink down a Windows virtual machine guest running on a Linux host. Step 1: Inside the Windows VM, defrag the hard drive. Go ahead and defrag even if it says a defrag
Bash Tips – Return to Previous Location | Ok this is a quick one, but useful! To return to the previous working directory, simply type: cd – and hit enter. Cool!
Batch Rename Files with rename | How can I batch rename files in Linux? There are tons of how-tos and guides on using sed, mv, and other commands to batch rename files. However, a very powerful tool available in Debian and Ubuntu Linux is simply rename. The rename command can be used to mass / bulk rename files, file extensions, rename
Quick Intro to VBoxManage | VBoxManage is the command line utility to manage all things VirtualBox. VirtualBox geeks will all tell you that there is much more you can do with VBoxManage – many things that are not written into the GUI. Below is a simple intro to VBoxManage! 1. List your available virtual machines: VBoxManage list vms stmiller@brahms:~$ VBoxManage