Run test -f README.txt.
test -f README.txt
Use test to reason about files and directories.
Terminal basicsteststatcat
Click any instruction for the command details, the why, and the common mistake to avoid.
Run test -f README.txt.
test -f README.txt
Run test -d /etc.
test -d /etc
Run stat README.txt.
stat README.txt
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.
Use test to reason about files and directories.
Run the commands in order and compare the outputs.
Junior operators build confidence by gathering evidence before changing systems.
cat <file>
Print text file contents.
test -e|-f|-d <path>
Check path type in a training-friendly way.
stat <path>
Show lab file details.