yes
it can be use in almost all
uname -a
These are separate and unrelated tasks. To check the version of the running kernel in Linux, use the command uname -r. To upgrade the kernel, either use your distro's package manager (if any) to update the system, or download and compile the Linux kernel source.
If you are using Linux then you can use uname command, which prints system information including kernel version and whether kernel is 32 bit or 64 bit. You can also use less /proc/cpuinfo command determine if it is 64 bit CPU or not. Example: $ uname -a
You can find out the current kernel version by issuing the commanduname -rYou can find the name of the distro and it's version number by runningcat /etc/*releaseor**cat /etc/*version**If the first one doesn't work, try the second, since not all distros keep theirs in the same place.
The command uname -a
To use System Information, in the Run dialog box, type Msinfo32 and press Enter.
The best solution is this command (actually two in one): uname -a && cat /etc/*release The first part of the command tells you the version of the Linux kernel that is running. The second part of the command tells you the name of the distribution, like "Red Hat Enterprise Linux X.X". When asked this same question, most people only answer the first part, which is not always what the user needs to know.
#/bin/bash export UNAME=`whoami` export USERID=`id -u $UNAME` echo $USERID
type "uname -a && cat /etc/*release" in a terminal (without the quotes).
Use the 'uname -a' command. It reports on the Unix system, version, machine name, amongst other things.
cat /proc/version The above answer will only work on certain systems. For most Unix systems, use the 'uname' command to get the Unix version. AIX uses the oslevel command.
cd /lib/modules/$(uname -r)