[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On Fri, 11 Aug 2006 17:42:14 +0100 Simon Waters <simon@xxxxxxxxxxxxxx> wrote: > Neil Winchurst wrote: > > > > /proc/version is an empty file. > > Did you "cat /proc/version" or just look at the size? > > /proc is not a real filesystem but a way of presenting (and in some > cases changing) kernel settings and data as if it were a file system, > hence the rather bizarre behaviour..... > > $ ls -l /proc/version > -r--r--r-- 1 root root 0 2006-08-11 17:40 /proc/version > > $ cat /proc/version > Linux version 2.6.15.2 (root@derek) (gcc version 3.3.6 (Debian > 1:3.3.6-12)) #1 SMP PREEMPT Fri Feb 3 21:25:29 GMT 2006 > Well, live and learn. I tried cat /proc/version and came up with 2.6.12-12mdk which I had already discovered using uname. Thanks for the info, I will remember that. Are there other useful files that work in the same way? Regards Neil Winchurst > -- > The Mailing List for the Devon & Cornwall LUG > http://mailman.dclug.org.uk/listinfo/list > FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html -- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html