Hello and Welcome to LinuxQuestions,
This one should work for all distros and versions since it gets its information from boot time messages:
My output is:
Initializing cgroup subsys cpu
Linux version 2.6.37-4.dmz.1-liquorix-amd64 (Debian 2.6.37-15) (firstname.lastname@example.org) (gcc version 4.4.5 (Debian 4.4.5-14) ) #1 ZEN SMP PREEMPT Mon Mar 14 19:51:36 CDT 2011
which provides quite a bit of information about what you're running.
Hope that helps. Have fun with Linux.