Skip to content

The Code Cave

Menu
  • PHP
  • WordPress
  • MySQL
  • LINUX
    • Bash
  • Plugins
    • SCuD – The ShortCode Disabler
    • Smart Passworded Pages Plugin
    • Per Page Sidebars
    • Word Filter Plus
    • Spam Catharsis
    • Donate
  • Scripts
    • Google Talk Notifications
  • Random thoughts

Finding large files on a Linux server

By Brian August 22, 2014 Random thoughts 0 Comments
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 {} […]...
[Continue reading...]

How to Fix: After upgrading WHMCS: Down for Maintenance An upgrade is currently in progress

By Brian January 8, 2014 LINUX 6 Comments
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 […]...
[Continue reading...]

How to quickly update WHMCS on WiredTree hosting and others.

By Brian January 2, 2014 Bash, LINUX 0 Comments
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 […]...
[Continue reading...]

How To: List the lines that exist in one file and not another in Linux or Windows Command Line

By Brian October 10, 2013 Bash, LINUX, WINDOWS 0 Comments
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 […]...
[Continue reading...]

How to fix: WordPress updates and plugin installs require FTP login but shouldn’t.

By Brian February 14, 2013 Random thoughts 3 Comments
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 […]...
[Continue reading...]

How do you restart a spamd on a cPanel server?

By Brian February 13, 2013 Random thoughts 0 Comments
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 […]...
[Continue reading...]

How to: Split path and filename in MS Excel, Google Docs or OpenOffice Calc

By Brian May 24, 2012 Random thoughts 5 Comments
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 […]...
[Continue reading...]

How to: Resolve the error “did you run git update-server-info on the server? “

By Brian April 7, 2012 Random thoughts 1 Comment
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 […]...
[Continue reading...]

Understanding Load Average on Linux

By Brian April 6, 2012 LINUX 1 Comment
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 […]...
[Continue reading...]

Understanding free memory in Linux

By Brian February 22, 2012 LINUX 4 Comments
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 […]...
[Continue reading...]

Posts navigation

1 2 3 4 … 41

Recently added to the Cave

  • Helpful Gutenberg Articles
  • Count Down Closing Timer and dealing with DST in JavaScript
  • Every chmod permission converted from numeric & displayed in ls style
  • How to create a WordPress compatible slug in MySQL
  • Help Me with Discussing Banner Sizes for Responsive Sites
  • How do you split a text field/textarea by line breaks?
  • WordPress and NotePad++
  • How to find Joomla WordPress or Drupal version from Linux CLI
  • What does “Is this ok [y/d/N]:” mean?
  • Advanced Google Search Operators

Recent Posts

  • Helpful Gutenberg Articles
  • Count Down Closing Timer and dealing with DST in JavaScript
  • Every chmod permission converted from numeric & displayed in ls style
  • How to create a WordPress compatible slug in MySQL
  • Help Me with Discussing Banner Sizes for Responsive Sites
  • How do you split a text field/textarea by line breaks?
  • WordPress and NotePad++
  • How to find Joomla WordPress or Drupal version from Linux CLI
  • What does “Is this ok [y/d/N]:” mean?
  • Advanced Google Search Operators

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Archives

  • January 2019
  • December 2017
  • March 2016
  • December 2015
  • September 2015
  • June 2015
  • November 2014
  • September 2014
  • August 2014
  • January 2014
  • October 2013
  • February 2013
  • May 2012
  • April 2012
  • February 2012
  • January 2012
  • October 2011
  • June 2011
  • April 2011
  • March 2011
  • February 2011
  • January 2011
  • December 2010
  • November 2010
  • October 2010
  • September 2010
  • August 2010
  • June 2010
  • February 2010
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • March 2008
  • February 2008
  • January 2008
  • November 2007
  • October 2007
  • August 2007
  • July 2007
  • June 2007
  • May 2007
  • April 2007
  • March 2007
  • February 2007
  • January 2007
  • December 2006
  • November 2006
  • October 2006
  • September 2006
  • August 2006
  • July 2006
  • June 2006
  • May 2006
  • April 2006
  • March 2006
  • February 2006
The Code Cave Copyright © 2023.
Back to Top ↑