C.W.K.
Stream
Quiz · 5 questions

🐚 What Is a Shell? Foundations

Terminal basics, shell history, PATH, man pages, shortcuts

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

Quiz

01Which statement best describes the relationship between a terminal, a shell, and a console?
Hint
Three different layers of one stack — window, interpreter, legacy term.
02What does macOS bash being frozen at 3.2 mean for you?
Hint
Apple stopped at bash 3.2 because of a license change in bash 4.
03What does -- do at the boundary between flags and arguments?
Hint
It tells the parser "no more flags from here on, only positional arguments."
04After installing a new tool with brew install foo, the shell still says "command not found." What's the right next step?
Hint
Shells cache the resolved path of every command they have run.
05A pipeline cat missing.txt | wc -l exits with status 0 by default. Why?
Hint
By default only the last stage's exit code matters; an option flips that.
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.