Unix command to find kernel

To find the kernel version type into the command prompt:uname -r If having problems compiling previously working code, maybe the computer I’m working on is an x86 computer. (like pc 31) Best to switch computers to a regular format. (like pc 1, 10)