Find the version of the Linux distribution installed in your system

This post is a note to myself since I have come across the need of verifying the version of the Linux distribution installed on my system several times till date.

Method 1:

The standard technique I have been using till date to check the version of the Linux OS installed on my system was to execute: cat /etc/issue.

If you are using a customized version of the Linux based OS, the file, /etc/issue will probably display a custom message based on the OS distribution.

Method 2:

If you know that the Linux OS installed in your system is a variant of RHEL or Fedora, say CentOS, the command, cat /etc/redhat-release will provide the human readable release name of the installed OS followed by the version and the code name of the release.

If you are using other variants of the Linux OS, there is a high probability that the execution of the command, cat /etc/*-release may provide you with the necessary details.

Method 3:

If you are using a recent version of Linux distribution, the command: lsb_release -i -r will display the Distribution name (-i) and the Release number (-r).

On a side-note, if you are just looking for the version of the kernel and gcc that were used to build the release: cat /proc/version will provide the details.


How to setup NFS server in Linux Mint (Ubuntu based)?

One of my NFS server running on Fedora was overloaded and I had to set up a new one. This time, I choose Linux Mint.

Setting up NFS server on Linux Mint was a breeze. Since the method we followed may be useful to other developers, I thought of sharing them here.

Logo Linux Mint

Image via Wikipedia

What is Linux Mint?

Linux Mint is a Ubuntu based Linux OS with growing popularity. Since its Ubuntu based, it inherits all the traits of Ubuntu release and add few additional functionality.

I have been using Linux Mint for about three years now starting from Linux Mint 5 till the latest Linux Mint 9. I am a great fan of this OS.

What is NFS?

The Network File System (NFS) protocol was developed by Sun Microsystems in 1984. NFS builds over Open Network Computing Remote Procedure Call, commonly called SUN ONC.

Continue reading “How to setup NFS server in Linux Mint (Ubuntu based)?”