Linux 101 Hacks eBook Goes Online – HTML Version

From http://www.thegeekstuff.com: There be good stuff here. by Ramesh Natarajan on January 14, 2010 I’m happy to announce that my free eBook, Linux 101 Hacks is now available for online browsing in HTML format. I’ve also updated the book with the following minor changes. * Added “Chapter 13. Bonus Hacks” with 10 additional hacks. I’ll…


BackTrack4 is out!

BackTrack is a Linux-based penetration testing arsenal that aids security professionals in the ability to perform assessments in a purely native environment dedicated to hacking. Regardless if you’re making BackTrack your primary operating system, booting from a LiveDVD, or using your favorite thumbdrive, BackTrack has been customized down to every package, kernel configuration, script and…


Running top in batch mode

If you try to redirect the top command output to a text file as shown below, you’ll notice that the output file contains lots of junk characters and when you try to view the output file using the less command, you’ll notice that the output file is also created with lot of junk characters. $…


Rkhunter WHM Interface

From http://scriptmantra.info/rkhunter.html Your can now scan and manage Rkhunter from your WHM. Download and install the latest Rkhunter GUI from Admin-Ahead Development Team. Version: 1.0.0 PS: You will need to REGISTER for this copy to work. Registration is completely free, and is included to keep our server bandwidth under control. Download: http://scriptmantra.info/scripts/rkhunter_interface_installer_1.0 Install Instructions: All…


cPanel Sendmail Logger WHM Plugin

From http://scriptmantra.info After the release of the FFMPEG Installer, we are releasing a new WHM Plugin to log all mails sent through the server using the sendmail binary. You can see the logs inside the WHM and identify the the spammer instantaneously. Details regarding the Plugin is available at : http://admin-ahead.com/sendmail_logger.html All instructions pertaining to…


WHM APF Interface 2

From http://scriptmantra.info APF WHM Interface. After the success of our ffmpeg installer and sendmail logger , we are moving ahead with an installer to deploy an interface for APF firewall. The APF firewall is one that is widely used and trusted for years now. You can download the installer from http://scriptmantra.info/scripts/A-AST_APF_Interface Please note that you…


Oh Noes, my is load high! Part 2

We have seen what a server load consists of and now we will look at how to reduce that load. How do we define high? Please see the Server load link here. Server load can be elevated for any reasons and we will look at a few ways to determine where the increased load is…


Oh Noes, my is load high! Part 1

Server Load: Server load is a measure of the amount of work that a computer system performs. The load average represents the average system load over a period of time. A server load average will measure the number of active processes at any given time. The load average seen in top is simplistic and uses…


du one liner

Here is a CLI du command one liner to list all of the files and folders in a directory nicely sorted by size. This is handy for when someones /var or /usr directory is full and causing issues on the server; du -sk ./* | sort -nr | awk ‘BEGIN{ pref[1]=”K”; pref[2]=”M”; pref[3]=”G”;} { total…


Clone Your Ubuntu installation

From ubuntugeek.com If you want to create a system that is similar to a different system you have already set up, it can be difficult to remember each and every package you had installed.This method works best when you are exporting to and importing from the same distribution and, specifically, the same release for example,…