What does uname command do?

The uname command is used in Unix and Linux systems to display system information. It provides details about the system's kernel and hardware. Here are some common options you can use with the uname command:

  • -s: Displays the kernel name (e.g., Linux).
  • -r: Displays the kernel release (e.g., 5.15.0-86-generic).
  • -m: Displays the machine hardware name (e.g., x86_64).
  • -o: Displays the operating system (e.g., GNU/Linux).
  • -p: Displays the processor type.

You can also use uname -a to display all available system information in one command.

0 Comments

no data
Be the first to share your comment!