Use the mv command
mv = move
Have you ever needed to look at the last entries in a log file.
Of course you have.
For example you want to see the last errors in the /var/logs/mail.log file
If you open it with NANO or some other txt editing programme you will have to scroll all the way to the bottom.
AND if more entries are logged while you are already in the file you will not see them!
This is a pain
A service stuck in a stopping or starting state can make for a frustrating experience for a Windows systems administrator trying to avoid a mid-day server restart.
Using the DOS Taskkill command can allow you to put off rebooting the server until after business hours.
If you run your own mail server you’ll want it to run spam filtering software to reduce the number of unsolicited emails your users receive. SpamAssassin is an effective spam filter that’s relatively easy to install and run.
This article was written for a CentOS 6.0 server running Postfix and Dovecot, but SpamAssassin can work with other operating systems and is compatible with most other common mail server software.
The first thing we will want to do is run an update on our CentOS distribution if we haven’t already.
Once the distribution has been updated, we will want to install SpamAssassin using yum.
sudo yum install spamassassin
Now that we have installed SpamAssassin onto our mail server we will need to configure the SpamAssassin rules within the local.cf file to set filter preferences. Continue Reading