Home > Bash > Knowing Currently running Kernel image version and GCC version used to compile the Kernel

Knowing Currently running Kernel image version and GCC version used to compile the Kernel

June 25th, 2008

The command used to find the $cat /proc/version

Eg..

$ cat /proc/version
Linux version 2.6.24-16-generic (buildd@palmer) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Thu Apr 10 13:23:42 UTC 2008

Similarly for knowing the CPU information use the command

$cat /proc/cpuinfo

If you are using a Core 2 duo processor informations of both the processors will be listed separatly. Check it out…..

Similarly /proc/ directory has many files use cat command to many information line meory info, swap space informations, etc using appropriate files.

Bash ,

  1. No comments yet.
  1. No trackbacks yet.