User Tools

Site Tools


find_os_information

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
find_os_information [2023/04/03 08:36] walkeradminfind_os_information [2023/04/03 08:42] walkeradmin
Line 36: Line 36:
 </file> </file>
 ---- ----
 +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 #ed1c24>or</color> where the <color #ed1c24>o</color> is the operating system name and the <color #ed1c24>r</color> is the release.
 +\\ 
 +\\ 
 +4.18.0-348.el8.x86_64 GNU/Linux
 +\\ 
 +\\ 
 +----
 +We can also use the cat command to display the contents of /proc/version, use the following command for this:
 +    cat /proc/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.txt · Last modified: 2023/04/03 08:44 by walkeradmin