LearnLinux FoundationsManipulation

The Vault: Operation Archivist

mkdir - a hands-on Linux lab on a real virtual machine.

The Manipulation module capstone mission. Drill mkdir, touch, cp, mv, ln -s, rm, rmdir, and the path readers (readlink, realpath, basename, dirname) in one hands-on operation on a real Linux VM. Mission mode: no commands shown, recall required.

You have finished the Manipulation module. Every tool for reshaping a file tree is yours now. touch makes an empty file appear. mkdir builds a directory to hold things. cp copies, mv moves and renames, and ln -s plants a signpost that points at another file. rm and rmdir prune what you no longer need. And readlink, realpath, basename, and dirname read a path apart so you always know exactly what you are pointing at.

This is the final run. One real machine, seven objectives, and every one of them uses a tool you already trained. Nothing new is introduced here.

This is mission mode. No commands are shown. You read the objective, recall the tool, and type it. That recall is the whole point: it is how these moves become instinct. Progress checks itself as you go, and a signal is one click away if you get stuck.

One quick rep in the practice terminal before the real machine boots. Same rules as the mission: the goal is stated, the command is not. If this comes back instantly, you are ready.

You need a fresh directory named project to hold your work. Reach for the make-directory tool and create it, then list just that one name to prove it exists.

prompt: student@linuxcamp:~$ answer: mkdir project ||| mkdir project/ ||| mkdir -p project output: hint: The make-directory tool, then the name you want: mkdir project. It prints nothing when it works.

That move came from memory, not from a copy button. Good. The mission asks for that same recall six more times, across the whole toolkit.

Boot the machine below and take the console. Seven objectives: build a folder, make a file, copy one, move or rename one, plant a symbolic link, prune what you do not need, and read a path apart to confirm what you are pointing at. No commands shown, progress checks itself as you type.

Practice The Vault: Operation Archivist in a real Linux terminal at The Linux Camp. Progress is verified automatically as you type commands on the machine.