// foundations · 01 / 09
Shell orientation
Where you are, who you are
The prompt is your foothold. Know who you are and where you stand before you touch anything.
- pwd — print working directory
- whoami — current user
- $ — user prompt · # = root
- ~ — home directory
- / — filesystem root
- . — here
- .. — parent
- Tab — autocomplete
// terminal
GNU bash, lab shell. Type help
- Who am I? (whoami)
- Where am I? (pwd)
// lab
// check yourself
Prompt ends with # instead of $. What does that usually mean?