Print kernel, architecture, and system information
Build a paste-ready command, then review its compatibility and effects before running it.
read-onlyno known side effects Compatibility
Linux + macOSVerified for Linux, macOS using posix, bash, zsh syntax.
Operational knowledgereview due 2027-01-19
Requirementsunameuname must be installed and available on PATH.
Version supportuname Current supported releasesVerified for linux, macos using posix, bash, zsh syntax; consult compatibility notes for platform-specific differences.
Expected signalsLinux atlas 6.8.0-63-generic #66-Ubuntu SMP x86_64 GNU/LinuxRepresentative successful output; values vary with the selected target and system state.
Known errorsuname: command not founduname is missing or is not available on PATH.
Verifyuname -aThe output matches the expected target and exits without an error.Rollback noteNot required: this command is read-only and does not change system state.
Command breakdown
01unameSystem name utilityPrints operating-system information.
02-aAll fieldsIncludes the kernel name, host, release, version, and machine architecture.
Example output
Linux atlas 6.8.0-63-generic #66-Ubuntu SMP x86_64 GNU/Linux
Illustrative output — exact values vary by system and data.
Official sources