The Workshop smells of sawdust and old iron. Workbenches line the walls, covered in unfinished projects. Here, heroes learn the art of building β and destroying β the very fabric of the file system.
mkdirtouchecho >echo >>cpmvrmls, cd, and cat| Command | What It Does |
|---|---|
mkdir name |
Make a new directory |
touch file |
Create an empty file (or update timestamp) |
echo "text" |
Print text to the terminal |
echo "text" > file |
Write text to file (overwrites) |
echo "text" >> file |
Append text to file |
cp src dest |
Copy a file |
mv src dest |
Move or rename a file |
rm file |
Remove a file (permanent β no trash) |
rm -r dir |
Remove a directory and its contents |
# From the entrance:
cd workshop # path varies by game mode
ls -F
# Output: blueprint tools/ debris workbench/
cat blueprint
The blueprint tells you what to build. Common workshop task: create a storage room and write a manifest.
mkdir storage_room
ls -F
# storage_room/ appears
touch manifest
echo "Iron bars: 10" > manifest
cat manifest
# Output: Iron bars: 10
echo "Copper wire: 5" >> manifest
cat manifest
# Output: Iron bars: 10
# Copper wire: 5
>overwrites the file.>>appends without destroying existing content.
cp manifest storage_room/manifest_copy
mv manifest storage_room/manifest
ls storage_room/
# manifest manifest_copy
rm debris
ls -F
# debris is gone
rmis permanent β there is no Recycle Bin in the terminal. Double-check filenames before deleting.
cd ..
# Back to entrance, then navigate to cellar
cd cellar
| Problem | Cause | Fix |
|---|---|---|
rm: directory: is a directory |
Trying rm on a dir |
Use rm -r dirname |
Accidental overwrite with > |
Used > instead of >> |
Recreate the file; always double-check |
No such file or directory |
Typo in filename | Use Tab to autocomplete |
| Created file in wrong place | Not in Workshop dir | pwd first; cd as needed |
Before advancing:
> and >>Continue your terminal adventure with these resources:
Every master builder started with a single mkdir. The workshop is behind you. π¨