which linux version is this
The distribution, its version, the kernel and the hardware it runs on.
system
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.
add a user
Create an account with a home folder and a password, and let it use sudo if it should.
count the processors
How many processors and cores this machine has, and what they are.
find what killed a process
A program vanished or says "Killed": usually the kernel ran out of memory and stopped it. Find out.
free disk space
Find what fills a disk, then clear what is safe to clear: old package files, logs, caches.