Run cp data/config-a.conf lab/learn-copy.conf.
cp data/config-a.conf lab/learn-copy.conf
Edit a disposable config copy and compare it with the original.
Nano and editingcpnanodiff
Click any instruction for the command details, the why, and the common mistake to avoid.
Run cp data/config-a.conf lab/learn-copy.conf.
cp data/config-a.conf lab/learn-copy.conf
Run nano lab/learn-copy.conf. Replace listen 443 ssl; with listen 8443 ssl; and save with Ctrl+O.
nano lab/learn-copy.conf
Run grep 8443 lab/learn-copy.conf.
grep 8443 lab/learn-copy.conf
Run diff data/config-a.conf lab/learn-copy.conf.
diff data/config-a.conf lab/learn-copy.conf
Create a free account to sync completed lessons, XP, streaks, course status, and your next lesson across sessions.
Checking account status...
Progress sync is idle.
Progress sync stores completion IDs, scores, streaks, badges, and game settings. Terminal contents, editor snippets, lab scratch, email, and real names are never published on leaderboards or share cards.
Build repeatable confidence with editing a copy instead of a live configuration.
Copy first, change only 443 to 8443 in nano, save with Ctrl+O, then compare.
Editing a copy instead of a live configuration helps operators explain what they know before they change anything.
nano <file>
Open a simulated nano editor.
diff <left> <right>
Compare two lab text files.
cp <src> <dst>
Copy a file.