find_os_information
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
find_os_information [2023/04/03 08:35] – walkeradmin | find_os_information [2023/04/03 08:44] (current) – walkeradmin | ||
---|---|---|---|
Line 11: | Line 11: | ||
\\ | \\ | ||
\\ | \\ | ||
+ | ---- | ||
+ | |||
From the command line, use: | From the command line, use: | ||
cat / | cat / | ||
Line 33: | Line 35: | ||
</ | </ | ||
+ | ---- | ||
+ | we can use the command uname with a few switches to get OS and Kernel information: | ||
+ | uname -a | ||
+ | \\ | ||
+ | This displays the Kernel version as well as OS version, albeit a slightly cryptic way of reporting the OS version. | ||
+ | \\ | ||
+ | \\ | ||
+ | Linux controller 4.18.0-348.el8.x86_64 #1 SMP Tue Nov 9 06:28:28 EST 2021 x86_64 x86_64 x86_64 GNU/Linux | ||
+ | \\ | ||
+ | \\ | ||
+ | uname -or | ||
+ | \\ | ||
+ | uname -<color # | ||
+ | \\ | ||
+ | \\ | ||
+ | 4.18.0-348.el8.x86_64 GNU/Linux | ||
+ | \\ | ||
+ | \\ | ||
+ | ---- | ||
+ | We can also use the cat command to display the contents of / | ||
+ | cat / | ||
+ | \\ | ||
+ | This gives both the Kernel version and the OS release version. | ||
+ | \\ | ||
+ | \\ | ||
+ | Linux version 4.18.0-348.el8.x86_64 (mockbuild@koji.corp.cloudlinux.com) (gcc version 8.5.0 20210514 (Red Hat 8.5.0-3) (GCC)) #1 SMP Tue Nov 9 06:28:28 EST 2021 | ||
+ | \\ | ||
+ | \\ | ||
+ | ---- | ||
+ | |||
find_os_information.1680507357.txt.gz · Last modified: 2023/04/03 08:35 by walkeradmin