M54 - CLI Intensive 1: Navigation Speed Drill
CLI Intensive 1: Navigation Speed Drill
Build fast, accurate terminal navigation habits so common filesystem work becomes fluent without sacrificing correctness.
- Build fast, accurate terminal navigation habits so common filesystem work becomes fluent without sacrificing correctness.
Fluency Matters, but Accuracy Comes First
The point of this section is not to become reckless.
It is to make common filesystem actions so familiar that you can:
- move through directories quickly
- create or relocate files with confidence
- verify what happened before making destructive changes
Speed is useful only when it sits on top of accuracy.
How To Use These Drills
- open a blank terminal
- read the drill objective once
- set a short timer
- complete the sequence
- verify the result
- repeat until the sequence feels calm rather than rushed
You are training for low-friction execution, not panic typing.
The Best Speed Tool Is Tab Completion
Fast terminal work usually comes from shorter, more reliable typing. Tab completion helps you move faster and make fewer path mistakes at the same time.
Drill A: Build a Small Project Tree
Objective: Create a simple directory structure and a few files without unnecessary directory changes.
- Go to your home directory.
- Create a folder named
project_alpha. - Move into it.
- Create
src,logs, andconfig. - Create
app.jsinsidesrc. - Create
server.confinsideconfig. - Print the current path.
cd ~ mkdir project_alpha cd project_alpha mkdir src, logs, config New-Item src\app.js -ItemType File New-Item config\server.conf -ItemType File (pwd).Path
cd ~ mkdir project_alpha cd project_alpha mkdir src logs config touch src/app.js touch config/server.conf pwd
Drill B: Rename, Move, Verify
Objective: Manipulate the tree you created while checking the result as you go.
- Move
server.confintosrc. - Rename
logstoold_logs. - Move up one directory.
- List the contents of the
srcfolder using a full path. - Delete the project tree only after you have confirmed you are targeting the right folder.
Move-Item config\server.conf src
Rename-Item logs old_logs
cd ..
Get-ChildItem “$HOME\project_alpha\src”
Remove-Item project_alpha -Recurse -Force
mv config/server.conf src/ mv logs old_logs cd .. ls ~/project_alpha/src/ rm -rf project_alpha
The important habit here is not the delete itself. It is the verification step just before it.
Drill C: Move Around the System Efficiently
Objective: Jump to a system location, inspect it, search briefly, and return to where you started.
- Go to the root of the filesystem.
- List hidden files as well.
- Search for a file whose name includes
hosts, ignoring permission noise where needed. - Clear the screen.
- Return to the previous directory.
cd C:
Get-ChildItem -Force
Get-ChildItem -Path C:\ -Filter “hosts” -Recurse -ErrorAction SilentlyContinue
Clear-Host
cd -
cd / ls -la find / -name “hosts” 2>/dev/null clear cd -
Mastery Check
You are ready to move on when you can:
- complete the drills smoothly
- explain each path you used
- recover quickly from a typo without getting lost
- verify targets before destructive commands
In the next drill, you will apply the same fluency to text processing and pipelines.