C.W.K.
Stream
Quiz · 3 questions

💻 Advanced Patterns and macOS Specifics

Brace expansion, parameter expansion, process substitution, macOS

Level 0Window Tourist
0 XP0/95 lessons0/14 achievements
0/100 XP to next level100 XP to go0% complete

Quiz

01Why does mkdir -p project/{src,test,docs} work even when none of those subdirectories exist?
Hint
Brace expansion happens before glob expansion and runs even on nonexistent paths.
02What does ${var:-default} mean?
Hint
The form ${var:-default} substitutes only when var is unset or empty.
03Why use diff <(cmd1) <(cmd2) instead of saving outputs to temp files?
Hint
macOS-only utilities for clipboard and Finder bridging.
Spotted a bug or have feedback on this page?Report an Issue

Comments 0

🔔 Reply notifications (sign in)
Sign inPlease sign in to comment.

No comments yet — be the first.