Install Rkhunter

Overview rkhunter (Rootkit Hunter) is a Unix-based tool that scans for rootkits, backdoors and possible local exploits. It does this by comparing SHA-1 hashes of important files with known good ones in online database, searching for default directories (of rootkits), wrong permissions, hidden files, suspicious strings in kernel modules, and special tests for Linux and FreeBSD. Instructions 1. Log into your …

Read More »

How To Use the grep Command in Linux

How do I use grep command in Linux operating systems? Can you give me a simple example of grep command? The grep command searches the given file for lines containing a match to the given strings or words. By default, grep displays the matching lines. Use grep to search for lines of text that match one or many regular expressions, …

Read More »

How to find out the spam mailing script’s location – Exim

The Exim mail server has a lot of options/commands to find out the details of spammers easily from the command line. We can find out the mail queue details, spam mail sender details, spam mail counts etc from the link I mentioned above. Here is a script/piped-command to find out the spam mailing script’s location/folder in the server. It would …

Read More »

Linux: Tarball Delete ( remove ) File

How do I delete or remove a single file from within a tar ball under Linux operating systems? You can use the following syntax to delete a file from a tar ball:   tar --delete -f example.tar filename Example: Delete a File From a Tar Ball First, create a tar ball for testing purpose using the tar command, enter: # cd …

Read More »

Install Memcache onto cPanel running CentOS

Memcached is a service that allows entire database tables to be stored in memory, drastically speeding up queries to those tables and alleviating database load. In WordPress and W3 Total Cache, the Memcached module allows you to store all cache tables in memory. This guide can be used to set up Memcached on CentOS. Install memcached through RPM The easiest way to install …

Read More »

Linux: Finding and Locating files with find command part # 1

Many newcomers find it difficult use the find command at shell prompt under Linux. Find is nifty tool on remote server where UNIX admin can find out lot of information too. Find command can perform a search based on a variety of search constraints. It searches through one or more directory tree(s) of a filesystem, locating files based on some user-specified criteria. …

Read More »