uname

Print details about the current machine and the operating system running on it. Note: for additional information about the operating system, try the `lsb_release` command.

Install

All systems
curl cmd.cat/uname.sh
Debian Debian
apt-get install coreutils
Ubuntu
apt-get install coreutils
Alpine
apk add coreutils
Arch Arch Linux
pacman -S coreutils
image/svg+xml Kali Linux
apt-get install coreutils
CentOS
yum install coreutils
Fedora
dnf install coreutils
OS X
brew install coreutils
Raspbian
apt-get install coreutils
Docker
docker run cmd.cat/uname uname powered by Commando

Print details about the current machine and the operating system running on it. Note: for additional information about the operating system, try the `lsb_release` command.

  • Print hardware-related information: machine and processor:
    uname -mp
  • Print software-related information: operating system, release number, and version:
    uname -srv
  • Print the nodename (hostname) of the system:
    uname -n
  • Print all available system information (hardware, software, nodename):
    uname -a

© tl;dr; authors and contributors