Xizaz Docs

Documentation / Overview

Practical reference · Linux

System administration
made approachable.

A compact collection of command-line notes, troubleshooting workflows, and links to official Linux documentation.

Getting started

Before changing a system, check which distribution, kernel and architecture you are working with.

cat /etc/os-release
uname -r
uname -m
uptime

The first command identifies the distribution. The next two report the running kernel and machine architecture. uptime shows elapsed uptime and load averages.

Package management

Debian-based distributions use APT to retrieve package metadata and install or update software.

Inspect available packages

apt-cache policy curl
apt show curl
apt list --upgradable

Inspect installed and candidate versions before applying updates.

Refresh package indexes

sudo apt update
apt list --upgradable

Refreshing package indexes does not upgrade installed software. Review pending changes before upgrading a production machine.

Official downloads

Distribution images and package archives are maintained by their respective projects.

Services & logs

On a systemd-based Linux system, use systemctl to inspect service state and journalctl to investigate recent events.

systemctl --failed
systemctl list-units --type=service --state=running
journalctl -p warning -b --no-pager

Inspect an individual service

systemctl status systemd-journald --no-pager
journalctl -u systemd-journald -n 30 --no-pager

Use the service's actual unit name when investigating another daemon. Some log entries require elevated privileges.

Files & storage

Check disk capacity, mounted file systems and memory before investigating resource constraints.

df -h
lsblk -f
free -h
du -sh "$HOME"

The disk usage scan may take time for a home directory containing many files.

Network diagnostics

Start with local interface addresses, routing and listening sockets.

ip -brief address
ip route
ss -lnt
getent ahosts debian.org

The socket list shows locally listening TCP sockets. It does not by itself prove that those ports are reachable from another network.

Check DNS resolution

getent hosts debian.org

On systems running systemd-resolved, resolvectl status can also display resolver configuration.

SSH essentials

OpenSSH provides authenticated remote terminal access. Keep private keys on the client machine and share only the public key.

ssh -V
ssh-keygen -lf ~/.ssh/id_ed25519.pub
ssh -G example.org

The last command prints the effective client configuration for an example hostname without establishing a connection.

The fingerprint command requires an existing Ed25519 public key. Never paste the contents of a private key into a support request.

HTTP & TLS

Inspect the status code, response headers and TLS certificate presented by a public HTTPS endpoint.

curl -I https://www.debian.org/
curl -vI https://www.debian.org/

Inspect certificate metadata

openssl s_client -connect www.debian.org:443 \
  -servername www.debian.org </dev/null 2>/dev/null | \
  openssl x509 -noout -subject -issuer -dates

This command displays certificate metadata; it is not a substitute for verifying certificate trust and hostname validity.

External references

For complete manuals, release-specific instructions and troubleshooting details, refer to upstream documentation.

About Xizaz Docs

Xizaz Docs is an independent collection of Linux reference notes. Examples are provided for learning and troubleshooting; review commands before running them on your system.

This site is not affiliated with Debian, systemd, OpenSSH or any other referenced project. Downloads are linked to their official sources.

The search feature runs locally in your browser. This page does not use external fonts, analytics scripts or third-party assets.