uname command stands for “UNIX Name.” It is a standard command found in Unix-like operating systems, including Linux and macOS. The
uname command is used to retrieve system information about the underlying operating system and machine.
uname command can be used with different options to display specific information. Some commonly used options include:
-a: Displays all available information about the system.
--kernel-name: Displays the kernel name.
--nodename: Displays the hostname of the machine.
--kernel-release: Displays the kernel release version.
--kernel-version: Displays the kernel version.
--machine: Displays the machine hardware name.
--processor: Displays the processor type or architecture.
--hardware-platform: Displays the hardware platform.
--operating-system: Displays the operating system name.