uname

Print details about the current machine and the operating system running on it. See also `lsb_release`. More information: <https://www.gnu.org/software/coreutils/uname>.

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
Windows (WSL2)
sudo apt-get update sudo apt-get 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. See also `lsb_release`. More information: <https://www.gnu.org/software/coreutils/uname>.

  • Print kernel name:
    uname
  • Print system architecture and processor information:
    uname --machine --processor
  • Print kernel name, kernel release and kernel version:
    uname --kernel-name --kernel-release --kernel-version
  • Print system hostname:
    uname --nodename
  • Print all available system information:
    uname --all

© tl;dr; authors and contributors