The cellar reeks of wine and secrets. Barrels line the walls; cobwebs drape the ceiling. Four iron doors lead deeper into the dungeon β armoury, chapel, vault, scrap. But first you must find the emerald amulet.
ls -Ffile command to interrogate itemsls, cd, and cat| Command | What It Does |
|---|---|
ls -F |
List with type markers |
ls -la |
Long listing, including hidden files |
file filename |
Describe what type of file this is |
alias name='cmd' |
Create a command shortcut |
alias |
List all defined aliases |
unalias name |
Remove an alias |
type name |
Show how a name is resolved (builtin/alias/function/file) |
ls -F Symbol Key| Symbol | Meaning |
|---|---|
/ |
Directory |
* |
Executable file |
@ |
Symbolic link |
= |
Socket |
\| |
Named pipe (FIFO) |
| (none) | Regular file |
ls -F
# Example output:
# emerald_amulet armoury/ chapel/ vault/ scrap/ dusty_scroll recipe*
Notice the variety: a regular file (emerald_amulet), directories (/), and an executable (recipe*).
filefile dusty_scroll
# dusty_scroll: ASCII text
file recipe
# recipe: Bourne-Again shell script, ASCII text executable
file reads the fileβs magic bytes β much more reliable than guessing from the name.
cat dusty_scroll
The scroll reveals a clue about the emerald amuletβs location and warns about hidden traps in the deeper chambers.
cat emerald_amulet
Reading it adds it to your inventory. Verify:
inventory
# Shows: emerald amulet β
# Quick inventory check shortcut
alias inv='inventory'
# Quick navigation shortcut
alias back='cd ..'
# Verify
alias
Aliases last only for the current session unless added to ~/.bashrc or ~/.bash_profile.
ls -F
# armoury/ chapel/ vault/ scrap/
Each leads to a distinct area of the dungeon. You can tackle them in any order.
| Problem | Cause | Fix |
|---|---|---|
alias: bad alias name |
Space in alias name | Use underscores: alias my_cmd='...' |
inventory not found |
Not in game shell | Start with ./main.sh --interactive |
| Canβt find emerald amulet | Wrong directory | pwd; make sure you are in CELLAR |
| All four exits missing | Older game version | Run ./setup.sh --repair |
ls -F symbol from memoryChoose your next chamber β all four are unlocked:
| Chamber | Skills | Link |
|---|---|---|
| βοΈ Armoury | Permissions, chmod, combat |
Armoury |
| βͺ Hidden Chapel | Hidden files, man pages |
Chapel |
| π Vault | Environment variables, export |
Vault |
| ποΈ Scrap Heap | Symbolic links, ln -s |
Scrap |
Continue your terminal adventure with these resources:
Emerald amulet secured. Four doors, four paths. The dungeon deepens. π·