uname:tldr:46536
The uname
command is used to retrieve system information in Unix-like operating systems. When used with the --machine
and --processor
options, it displays specific details related to the machine architecture and processor.
-
--machine
: This option displays the machine or hardware architecture of the system. It typically provides information such as the processor type (e.g., x86, x86_64, ARM), bitness (e.g., 32-bit, 64-bit), and endianness (e.g., little-endian, big-endian). -
--processor
: This option shows the processor type or model on the system. It usually provides information such as the brand, vendor, and model name of the CPU installed in the machine.
When combined and executed as uname --machine --processor
, the command will display the machine architecture followed by the processor information, providing insight into the hardware configuration of the system.