Taking full control of your own email, that is running your own email server, is a must if you really care about privacy, security or maximum customization.
When you start doing it though, you soon find out that the hardest, or at least lest documented task, is not how to send email, or how to block spam. It is how to make sure that the email you send is always accepted by other sites, that is how to find out if your email server looks like a spam source.
As part of our on-going bash tutorial series, we discussed about bash positional parameters in our previous article. In this article let us discuss about the bash special parameters with few practical shell script examples.
Though you can usually manage your network settings via the GUI in most Linux distros these days, it's always good to be familiar with the command-line tools. So we're going to review some select commands from a couple of tools that are typically included in the popular Linux distros. Remember, if you want full details on the tool and its options, refer to its man page: type man followed by the tool name. Now bring up a terminal and let's get started!
The following table lists package management tasks in the four most popular distribution groups – Debian (including Ubuntu, Linux Mint, KNOPPIX, sidux and other Debian derivatives), openSUSE, Fedora (including Red Hat Enterprise Linux, CentOS, Scientific Linux and other Fedora-based distributions), and Mandriva Linux.
Saturday, March 28 2009 @ 10:57 AM CST Contributed by: Linegod
Why might you want to use a named pipe in a shell script? One situation might be when you've got a backup script that runs via cron, and after it's finished, you want to shut down your system. If you do the shutdown from the backup script, cron never sees the backup script finish, so it never sends out the e-mail containing the output from the backup job. You could do the shutdown via another cron job after the backup is "supposed" to finish, but then you run the risk of shutting down too early every now and then, or you have to make the delay much larger than it needs to be most of the time.