Run cp /srv/www/index.html restore/index-copy.html.
cp /srv/www/index.html restore/index-copy.html
Restore into a review folder before touching live paths.
Files and pathscpdiffstat
Click any instruction for the command details, the why, and the common mistake to avoid.
Run cp /srv/www/index.html restore/index-copy.html.
cp /srv/www/index.html restore/index-copy.html
Run diff /srv/www/index.html restore/index-copy.html.
diff /srv/www/index.html restore/index-copy.html
Run stat restore/index-copy.html.
stat restore/index-copy.html
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.
Restore into a review folder before touching live paths.
Run the commands in order and compare the outputs.
Junior operators build confidence by gathering evidence before changing systems.
diff <left> <right>
Compare two lab text files.
cp <src> <dst>
Copy a file.
stat <path>
Show lab file details.