Quiz · 5 questions
⚙️ Environment and Configuration
Variables, dotfiles, aliases, PATH, Homebrew, SSH
Level 0Window Tourist
0 XP0/95 lessons0/14 achievements
0/100 XP to next level100 XP to go0% complete
Quiz
01Why does setting
export OPENAI_API_KEY=... in ~/.zshrc not work for cron?Hint
The environment visible in Terminal is not automatically copied into a scheduled job.
02What's the right way to add Apple Silicon Homebrew to PATH?
Hint
One canonical eval line sets PATH, MANPATH, INFOPATH atomically.
03When should you use a function instead of an alias?
Hint
Aliases are pure text substitution; functions are tiny programs.
04What does
direnv do for project-local environments?Hint
It scopes env vars to a directory, with an explicit one-time approval.
05Why must
~/.ssh/id_ed25519 be 600?Hint
openssh refuses to use a private key file readable by anyone besides you.
Comments 0
🔔 Reply notifications (sign in)Sign in — Please sign in to comment.
No comments yet — be the first.