Obsidian note preview
The downloadable note keeps this checklist in a project-vault format: workflow, command groups, and a project note template.
# Maker Command-Line Checklist
Question:
Command:
Expected signal:
Actual result:
Next action:
Flashcard preview
These cards review command choice, expected signals, and common misreads. Export the TSV if you want to import the full set.
What should you write before choosing a command?
Write the question you are trying to answer: path, file, service, logs, disk, domain, or permissions.
Why start with `pwd`?
`pwd` proves the current directory before path-sensitive commands run from the wrong place.
What does `ls -lah` help inspect?
Names, hidden entries, permissions, owners, sizes, and timestamps in the current directory.
When is `find . -maxdepth 2 -type f` useful?
When you need a bounded local file inventory without crawling the whole machine.
Why use `head -40 file.txt` before `cat`?
It previews a bounded part of a file and avoids dumping huge logs or configs.
What does `grep -n` add?
Line numbers, so a match can be discussed, cited, or saved in a project note.
What does `namei -l /path/to/file` prove?
It walks every path component and can reveal a parent directory permission problem.
What does `stat -c '%A %U:%G %n'` show?
Mode, owner, group, and name in one compact line.
Why check `id` during permission triage?
It shows the current user and groups actually available to the shell.
What does `git status --short` show?
A compact list of modified, added, deleted, or untracked files.
Why inspect `git diff -- path/to/file`?
It explains one file's unstaged changes before committing or reverting.
What does `ss -ltnp` prove?
Which TCP ports are listening and which process owns them.
Why use `curl -I`?
It checks headers, status, redirects, and TLS behavior without downloading the full page.
What does `systemctl status nginx --no-pager` show?
Service state, recent failure text, and unit metadata without opening a pager.
Why scope `journalctl` with `-u` and `--since`?
It keeps log reading focused on one service and a useful time window.
What is the difference between `df -h` and `df -i`?
`df -h` checks bytes; `df -i` checks inode availability.
Why use `du -xhd1 /var 2>/dev/null | sort -h`?
It ranks top-level directory sizes without crossing filesystems.
What does `dig +short example.com A` answer?
Which IPv4 addresses DNS currently returns for the domain.
Why test HTTP before TLS?
It separates DNS and web-server reachability from certificate problems.
What should you record after a command?
The command, expected signal, actual result, and next action.