Skip to content

First 10 Minutes on a New Linux Host: A Beginner Guide

Admin
October 19, 2026
12 min read
Beginner
๐Ÿ’ป Target OS: Ubuntu 24.04+ / Debian 12+ / RHEL 9+

Before you begin

  • Applies to:Linux hosts with Bash, coreutils, util-linux, procps, and iproute2. The systemd checks apply only where systemd is available.
  • Where to start:Sign in to the Linux host with an authorized regular account.
  • What you need:Have the host name ready and record missing commands or limited permissions as you go.
Guide tools
Guide tools
0/0 Steps (0%)

Before changing a Linux host, learn what it is running and what state it is in. This checklist gathers a basic picture using inspection commands. It does not install packages, change addresses, restart services or write an automatic report.

The sample outputs illustrate what to look for. Restricted containers can hide information that is visible on the host.

Identify the host, inspect resources and configuration, then record findings before selecting a change procedure.

01

Confirm Your Account and the Host

Identity

Confirm where you logged in and which account is running commands. A root shell requires extra care even when the planned commands are inspections. The directory helps explain relative paths; it is not proof of the hostโ€™s purpose. Check the host against the asset or change record before proceeding.

Terminal window
whoami
id
hostname
pwd
02

Identify Distribution, Kernel and Architecture

Practice

Read the release metadata and kernel version separately. Distribution versions and kernel versions are different identifiers, and vendor kernels may contain backported fixes. A version string alone cannot establish vulnerability status. Record the architecture when choosing packages or support instructions.

Terminal window
cat /etc/os-release
uname -r
uname -m
getconf LONG_BIT
โฏ Illustrative Output (Results Vary)
Look for PRETTY_NAME, ID and VERSION_ID in os-release.
uname reports the running kernel and architecture, not the package support status.
03

Read Uptime and Load in Context

Practice

Uptime shows how long this running environment has been up and reports recent load averages. Load includes runnable tasks and some uninterruptible waits; it is not a CPU percentage. Compare it with workload history and available resources before diagnosing saturation.

Terminal window
uptime
nproc
04

Inspect CPU and Memory Capacity

Practice

Review CPU information and memory accounting. For memory, available is generally more useful than the free column alone because some cache can be reclaimed. Virtual machines and containers may expose a limited or virtualized view; reported host resources do not necessarily equal the limits applied to an individual workload.

Terminal window
lscpu
free -h
05

Map Block Devices Without Modifying Them

Practice

List device types, filesystem types and mount points. A disk, partition and logical volume are different layers. Empty filesystem or mount fields are not permission to format a device. In containers, this command may show only part of the storage arrangement.

Terminal window
lsblk -o NAME,TYPE,SIZE,FSTYPE,MOUNTPOINTS
06

Check Mounted Capacity and Inodes

Practice

Compare mounted-filesystem space with inode usage. A filesystem can exhaust inodes while bytes remain available. findmnt shows the backing source and options for the root path. These are starting observations; open deleted files, quotas and application reservations can require further investigation.

Terminal window
df -hT
df -i
findmnt -T /
07

Inspect Addresses and Routes

Practice

List addresses and IPv4/IPv6 routes without changing them or sending a test probe. Check whether the expected interface and route exist. A default route does not prove external connectivity, and an address alone does not prove that DNS or a particular application works.

Terminal window
ip -brief address
ip route show
ip -6 route show
08

Inspect the Resolver Configuration

Practice

Check whether resolv.conf is managed through a symlink and inspect its resolver-related entries. A loopback nameserver can be a local stub resolver rather than an error. On hosts running systemd-resolved, resolvectl can show per-link DNS details; skip it if that service is not in use. These commands inspect configuration and do not perform a DNS lookup.

Terminal window
ls -l /etc/resolv.conf
grep -E '^[[:space:]]*(nameserver|search|domain)[[:space:]]' /etc/resolv.conf
Terminal window
# Optional when systemd-resolved is in use:
resolvectl status
09

Inspect Processes and Service Health

Practice

List a small process summary using command names rather than full argument strings. CPU percentages are samples with tool-specific accounting. Inspect process 1 before running systemd commands. A degraded state or failed unit needs investigation; do not clear failed flags or restart services merely to make the display green. Some healthy boot or shutdown transitions also produce nonzero is-system-running statuses.

Terminal window
ps -eo pid,user,comm,%cpu,%mem --sort=-%cpu | head -n 11
ps -p 1 -o comm=
Terminal window
# Optional when process 1 is systemd:
systemctl is-system-running
systemctl --failed --no-pager
10

Record a Small Baseline and Pick the Next Step

Handover

Record the approved host identifier, OS and kernel, expected role, available resources, mounted-storage findings, interface/route observations and any failed units. Separate observed facts from suspected causes. Compare with the inventory or ownerโ€™s baseline. This checklist changed no system settings and requires no cleanup.

FindingFollow-up guide
Unexpected mount or filesystem mappingFilesystems and mounts
Low space or inode exhaustionDisk-space and inode triage
Address, link or route problemNetwork-interface triage
Resolver configuration needs investigationLinux DNS troubleshooting
Failed systemd serviceService failure diagnosis
Memory pressureMemory and OOM triage

References: installed os-release(5), uname(1), uptime(1), free(1), lsblk(8) and ip(8) manuals; upstream OS identification, systemctl and resolvectl.

Comments