Saturday, November 12, 2011

Power of Proc-1: Linux Version

Lets start something interesting about proc pseudo file system.
To know which version of Linux you are using. Cat this file


# cat /proc/version
Linux version 2.6.32-35-generic (buildd@allspice) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #78-Ubuntu SMP Tue Oct 11 16:11:24 UTC 2011

There may be many ways to get this info, but lets limit this discussion to proc file system.
Pin It
Related Posts Plugin for WordPress, Blogger...