which linux version is this
The distribution, its version, the kernel and the hardware it runs on.
Steps
-
cat /etc/os-releasethe distribution and its version
-
hostnamectlthe same, with the kernel and the machine
-
uname -rthe kernel's version
-
uname -mthe processor's kind: x86_64, aarch64
-
sw_versmacOS's version
Commands used
unamehostnamectllsb_release
Each has a page in lore: lore uname opens it.
Related recipes
- add a userCreate an account with a home folder and a password, and let it use sudo if it should.
- count the processorsHow many processors and cores this machine has, and what they are.
- find what killed a processA program vanished or says "Killed": usually the kernel ran out of memory and stopped it. Find out.
- free disk spaceFind what fills a disk, then clear what is safe to clear: old package files, logs, caches.