>Usage
The uname command is a utility used to display system information. It provides details about the operating system and the underlying hardware. By default, uname outputs the system's kernel name, but additional options can be used to retrieve more specific information.
>Synopsis
>Options
-m
Writes the type of hardware platform.
Example 1:
-zsh
>uname -m
arm64
-n
Writes the system name
Example 2:
-zsh
>uname -n
[YourDeviceName].local
-p
Writes the type of machine processor architecture
Example 3:
-zsh
>uname -p
arm
-r
Writes the release level of the OS
Example 4:
-zsh
>uname -r
23.6.0
-s
Writes the name of the OS implementation
Example 5:
-zsh
>uname -s
Darwin
-v
Writes the version level of the OS release
Example 6:
-zsh
>uname -v
Darwin Kernel Version 23.6.0: Mon Jul 29 21:14:30 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T6030