Here are a couple commands you might find useful. This command finds files that are larger than half a gig: find / -type f -size +500M -exec ls -lh {} \; This command finds files that are larger than 1 gig: find...
I recently came across an issue I’d not seen before. After performing what I thought was a proper upgrade, I found that my support and sales portal was displaying the error: Down for Maintenance (Err 2) An upgrade is currently in...
NOTE: This script has been updated to remove the premature deletion of the install directory. Over the last month or two, WHMCS has been updated many times. This is a GOOD THING, but it can be annoying to go through the...
This solution uses grep. Grep is a search tool that exists by default in just about every Linux installation. You can also search Google for Windows Grep. for a Demo, Here is FileA.txt 1. In Both 2. In Both 3. In Both 4....
WordPress is generally very good about working under any server situation you put it in. It even has fall back code if the preferred server settings are not available. The plugin and update installation code is one example of this. If...
Let’s keep this one simple. There are two main ways to restart Spamd. The first way restarts spamd (aka spam assasin) itself: /scripts/restartsrv_spamd The next way is to restart the default mail server exim, which uses spam assassin. That’s done with:...
I did a code review along with Brad Williams yesterday and today we combined our results. The problem was, our spreadsheet columns didn’t match. He’d combined path and filename into one column and I’d split them out into two columns. We...
This is a fairly common error and a bit of a head smacker… Before you look any further, ask yourself one question.. Are you trying to use a git client to check out an SVN repository? Try using svn client...
One of the things that really confused me back in the last millennium was understanding the results I would get from “top -c” or “uptime”. They showed load averages that seemed to make sense when they were low: “0.32 looks like...
It used to worry me when I found that Linux was using almost all the memory available to a system. However all that worry was for naught. Linux is very good at memory management and making sure it has enough memory...