Final Replace: Mar 25, 2023
There are a number of methods to get your Linux model from the command line. A technique that simply shows a primary title:
However this often simply returns “Linux”. Fairly positive you already knew that. A extra detailed view can be:
Which reveals “all” the data uname supplies.
Listed below are another switches for uname:
-a, --all print all info, within the following order,
besides omit -p and -i if unknown:
-s, --kernel-name print the kernel title
-n, --nodename print the community node hostname
-r, --kernel-release print the kernel launch
-v, --kernel-version print the kernel model
-m, --machine print the machine {hardware} title
-p, --processor print the processor kind or "unknown"
-i, --hardware-platform print the {hardware} platform or "unknown"
-o, --operating-system print the working system
--help show this assist and exit
--version output model info and exit
There’s one other technique for gathering system info:
This may also present you fairly a bit of data in your system.
Linux model 2.6.32-71.el6.x86_64 (mockbuild@x86-007.construct.bos.redhat.com)
(gcc model 4.4.4 20100726 (Purple Hat 4.4.4-13) (GCC) ) #1 SMP Wed Sep 1 01:33:01 EDT 2010
Some distros have their very own strategies of identification additionally, akin to RedHat:
Seek the advice of your manuals for every distro to seek out out the place they retailer this info.
Need to study extra about Linux? In fact you do. Take a look at this Linux Fundamentals course.
You possibly can join a free trial right here and take it at this time!
GIPHY App Key not set. Please check settings