terminal.cab

All paths

Linux Basics

Ten modules from finding your way around to the everyday work of a sysadmin.

Find your way around a strange server, read its logs and get help when you are stuck.

  1. Finding your way around a strange server 8 min
  2. Reading logs without drowning 9 min
  3. Help and history 7 min
  4. Saturday, 17:03, the deploy hangs Detective 8 min

Create, copy, link, find and measure files without losing anything.

  1. Create, copy, move 10 min
  2. Delete, link, measure 10 min
  3. Finding files by name, age and size 10 min
  4. Disk usage 94% at 6:50 Rescue 8 min

Search, count, rewrite and evaluate text in files and logs.

  1. Finding lines, finding differences 10 min
  2. Sort and count 10 min
  3. Changing text with sed 9 min
  4. Evaluating columns with awk 8 min
  5. Who is hammering the API? Detective 9 min

Connect small commands and send their output where you need it.

  1. Steering the streams 10 min
  2. Branching off and passing on 9 min
  3. The 17:45 report Rescue 9 min

Read and change who may do what, and work as another user when it is needed.

  1. Reading and setting permissions 9 min
  2. Owners and the starting mode 9 min
  3. Root for a moment 9 min
  4. 755 and still Permission denied Detective 8 min

See what is running, send signals and stop what has to stop.

  1. Finding and ending processes 10 min
  2. Foreground, background, staying on 9 min
  3. Services with systemctl 9 min
  4. The server is glowing Rescue 8 min

Find out what is eating memory and CPU and why a process was killed.

  1. Reading memory 9 min
  2. Who eats the memory 10 min
  3. 03:12, was it the OOM killer? Detective 10 min

Find out how full your disks are and what takes up the space.

  1. Where has the space gone 9 min
  2. Packing and mirroring 10 min
  3. Disk full, but of what? Rescue 10 min

Check addresses, ports and names when a service cannot be reached.

  1. Addresses and reachability 8 min
  2. Who listens, and what answers 9 min
  3. Names and other machines 8 min
  4. Nothing gets through from outside Detective 10 min

Services, logs, users and backups in the daily work on a server.

  1. Schedules, logs and packages 10 min
  2. Users and groups 8 min
  3. The system and your shortcuts 8 min
  4. The backup did not run Boss 10 min