TopicLadder
Anki-compatible deck

Maker Linux and VPS Flashcards

Review the Linux, Nginx, DNS, HTTPS, log, service, port, deploy, and safety checks that support maker projects published on a VPS.

Category breakdown

Each category supports the same maker workflow: inspect first, read the output, write the next safe action, then return to the project.

Category Cards What this category reinforces Related page
Linux navigation 7 It proves the current working directory so path-sensitive commands are not run from the wrong project folder. Command-line foundations
File inspection 7 It previews the top of a file without dumping the whole file into the terminal. Search logs with grep, find, and tail
Permissions and ownership 7 It walks each path component and shows whether a parent directory blocks traversal. Linux files and permissions
Nginx static sites 7 nginx -t should pass so a syntax error does not break the server. Nginx static-site basics
DNS 7 The IPv4 address returned for the hostname by the resolver you asked. DNS records and SSL
HTTPS and certbot 7 Certificate names, covered domains, and expiry information. DNS records and SSL
Logs 7 It narrows logs to the time window around the failure. Search logs with grep, find, and tail
systemd and services 7 Service state, recent messages, and whether the unit is active or failed. VPS Debugging Lab
Ports and listeners 7 Listening TCP ports and the processes that own them when permitted. VPS Debugging Lab
Git deploy workflow 7 Whether the working tree has uncommitted or unexpected changes. Git workflow for small projects
Safe command habits 7 It reads state without changing files, services, accounts, DNS, or firewall rules. Maker Command-Line Checklist
VPS debugging 7 DNS, because routing and certificates do not matter if the hostname points elsewhere. VPS Debugging Lab

Import instructions

  1. Download the TSV deck.
  2. Import it into Anki as tab-separated notes.
  3. Map fields as front, back, and tags.
  4. Review a few cards after each VPS or Linux practice session.

Review plan

Start with ten cards after the command-line checklist, ten after the VPS debugging lab, and ten after the static-site deploy path. Suspend any card that does not connect to a real project decision yet.

Good review means explaining what a command proves, not memorizing a command string without context.

Preview cards

These are the first 25 cards from the TSV so you can inspect the deck before downloading it.

What does pwd prove before a deploy?

It proves the current working directory so path-sensitive commands are not run from the wrong project folder.

Linux navigation
When should you use ls -lah?

Use it to inspect names, sizes, owners, permissions, and hidden files before editing or copying.

Linux navigation
What does find . -maxdepth 2 -type f | sort | head help with?

It gives a bounded file inventory without crawling the whole machine.

Linux navigation
Why write the current path into a project note?

It makes later commands and screenshots easier to explain or review.

Linux navigation
What is a common directory-navigation mistake?

Assuming the shell is inside the project root because the terminal was there earlier.

Linux navigation
What should you check before copying a file path?

Check whether it is relative or absolute and whether it points at the generated release.

Linux navigation
Why keep navigation commands read-only?

They establish location and file shape without changing the project.

Linux navigation
When is head -40 useful?

It previews the top of a file without dumping the whole file into the terminal.

File inspection
What does grep -n add to a search?

Line numbers, so the matching line can be reviewed or discussed precisely.

File inspection
Why use tail on logs?

Recent lines usually show the current failure without reading the entire log file.

File inspection
What does file script.sh check?

It identifies file type and can expose CRLF or binary content mistakes.

File inspection
What should you do before editing a config?

Read the relevant lines and write down the expected setting.

File inspection
What is a false read in file inspection?

Seeing the right text in one file while the live service uses a different file.

File inspection
What does a bounded find command prevent?

It avoids a slow broad filesystem scan when nearby files are enough.

File inspection
What does namei -l prove?

It walks each path component and shows whether a parent directory blocks traversal.

Permissions and ownership
What does stat -c '%A %U:%G %n' file show?

Mode, owner, group, and name for the exact file being inspected.

Permissions and ownership
Why avoid chmod -R 777?

It changes too much and can hide the specific permission problem.

Permissions and ownership
What does a 403 often mean for static files?

Nginx may find the path but fail to traverse or read one component.

Permissions and ownership
What should you inspect before chown?

Which user the service runs as and which path component has the mismatch.

Permissions and ownership
Why can a parent directory cause a file error?

The file can be readable while a parent directory lacks execute permission.

Permissions and ownership
What is the safe first step for permission errors?

Inspect the path and owner/mode before changing anything.

Permissions and ownership
What must happen before nginx reload?

nginx -t should pass so a syntax error does not break the server.

Nginx static sites
What does server_name decide?

Which hostnames match a server block.

Nginx static sites
What does root decide?

Which directory Nginx serves files from for that block.

Nginx static sites
Why test with curl -I -H 'Host: domain' http://127.0.0.1?

It checks local Nginx routing for a specific hostname.

Nginx static sites

Related pages

Buy me a coffee for more maker ladders

TopicLadder is free to read. Support helps turn rough project paths into useful notes, cards, videos, and practice tasks.

Support this project

Last reviewed: July 5, 2026. TopicLadder pages are curated for practical learning and may be updated as examples improve.