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 07:39] – walkeradmin | find_os_information [2023/04/03 07:44] (current) – walkeradmin | ||
|---|---|---|---|
| Line 38: | Line 38: | ||
| we can use the command uname with a few switches to get OS and Kernel information: | we can use the command uname with a few switches to get OS and Kernel information: | ||
| uname -a | 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 | 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 | ||
| Line 43: | Line 46: | ||
| \\ | \\ | ||
| uname -or | uname -or | ||
| + | \\ | ||
| + | uname -<color # | ||
| + | \\ | ||
| \\ | \\ | ||
| 4.18.0-348.el8.x86_64 GNU/Linux | 4.18.0-348.el8.x86_64 GNU/Linux | ||
| Line 50: | Line 56: | ||
| We can also use the cat command to display the contents of / | We can also use the cat command to display the contents of / | ||
| cat / | 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 | 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.1680507596.txt.gz · Last modified: by walkeradmin
