Here is the command to find out what your current shell type is in Linux or Unix. This works for most variants of Unix, Aix, and Linux. echo $0, this will display the shell type. echo $SHELL, this will give…
Tag: Unix
Upgrading SpamAssassin on Fedora 4 server.
Download the lastet version of SpamAssassin version 3.2.5, the file name is Mail-SpamAssassin-3.2.5.tar.gz. You can get the latest version from spamassassin.apache.org. In this step by step example I am upgrading SpamAssassin version 3.0.3-4.fc4 to 3.2.5 on my Fedora 4 server.…
How to determine the version of Aix, Solaris and Linux.
How to determine the version of Solaris you are running. uname -a This will list the Solaris version on your server. uname -X will display the extended information with more detailed info. Other options for uname. Operating system name (uname…
How to find a file in Unix, Linux, Aix, Solaris.
If you are not sure about the name of the file and which directory it stored in then you can use the find command to search for it. The Find command is common to all variants of Unix, Aix, Solaris,…
How to check for open ports on your server using Netstat.
Netstat is a really handy tool that comes packaged with Microsoft Windows, Linux and Unix. There is a version for each type of operating system, the command syntax may differ but the result is the same. There are many a…
How to find file that contains a specific word in Linux and Unix.
The find and grep command is very handy when searching for files that contains a specific word. Both the find and grep commands are universal in Linux and Unix and the syntax is very similar. Below is an example. find…
How to mount a volume with a different mount point in Aix ?
I ran across a situation where my volume was running low on free disk space. In order to prevent my application from crashing, I had to either expand the volume or move the application files to a larger volume. Well,…
Sendmail-largeboxes.conf displays warning for large mailboxes
The sendmail-largeboxes.cof file is used to display warnings for large mailboxes. The default configuration is hard coded to consider 40MB+ as large. Users will receive email warnings that they have exceeded the 40MB mailbox size. You can change the default…