Skip to content

The first minute on a new server

Six commands that give you a complete picture right after logging in:

whoami        # am I the right user?
hostnamectl   # which machine, OS and kernel?
timedatectl   # right time zone, is the clock synchronized?
uptime        # how long has it been running, how high is the load?
w             # who else is logged in, and what is running?
last -n 5     # who logged in recently?