There’s a text file (or output from a command) that needs sorting! You can do just about anything in Linux.. in this extremely short tutorial, we’ll show you how to sort a text file. You can also sort the output of a command.
Continue Reading…


There are a couple ways to remove the last character from a file – scratch that.. tons of ways.. but, we’ll show you a couple ways today.
Continue Reading…


When you want to rename a directory full of files from fooo2 to foo2, you’re first thought is using sed.. why, when rename is easier?
Continue Reading…


This is something that cPanel has set by default – the ability to see directory listings when visiting a directory with no acceptable ‘index’ page. You really don’t want this enabled as unsavory types can view what else you have in that directory. Follow this simple guide to secure your server a bit more and disable directory listing.
Continue Reading…

If you manage an Apache server, you may be noticing a large amount of TIME_WAIT connections all of the time. Don’t get me wrong, TIME_WAIT is a good thing.. it basically means that your server has closed the connection, but it’s being kept around so any delayed packets matched to the connection can be handled properly. We can reduce them, however.
Continue Reading…