Home » Server Managment (page 3)

Server Managment

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 »

Rsync: Preserve / Copy Hard Links ( Backup Rsnapshot Directory Tree )

I’m using rsnapshot filesystem snapshot utility to make incremental snapshots of local and remote filesystems for 10 production servers running on RHEL 5.x system. The rsnapshot commands makes extensive use of hard links, so if the file doesn’t change, the next snapshot is simply a hard link to the exact same file. How do I use the rsync command to copy my the entire snapshot …

Read More »

Find Linux RAM Information Command

How do I find out ram information under Linux operating systems? You can use the following commands to find information about RAM under Linux operating systems. Find Used and Free RAM Info Command You need to use the free command: # free # free -m total used free shared buffers cached Mem: 7930 4103 3826 0 59 2060 -/+ buffers/cache: 1983 …

Read More »

RHEL / CentOS Linux: Mount and Access NTFS Partition

How to enable NTFS support on CentOS Linux version 5 or 6? How do I mount ntfs partition under RHEL 5 or 6? First, you need to install EPEL repo as described here. The following command will turn in EPEL repo on RHEL / CentOS version 6.x: # cd /tmp # wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm # rpm -ivh epel-release-6-8.noarch.rpm NTFS-3G NTFS-3G is a stable, …

Read More »