How to check what Kernel and Distribution of Linux your running via the Command Line?

  • KERNEL
    1. Type in the following command: uname -r And hit enter

    2. The command above will display the kernel version you are running eg. 2.6.28-13-generic

    3. uname = Prints System Information -r = _Prints the kernel release

      _

  • DISTRIBUTION
    1. Type in the following command: cat /etc/issue And hit enter
    2. The command above will display the kernel version that you use eg. Ubuntu 9.04 \n \l
    3. cat = Concatenates files and prints on the standard output