Hidden files
Use long and all listings to reveal dotfiles and read shell startup notes.
Understand the pattern
Admin work often depends on hidden configuration files.
ls- List directory entries; -a includes hidden names and -l adds ownership and permission detail.
A listing is not proof that you can read or modify every listed file.
cat- Read one or more files to standard output without editing their contents.
Reading a source file should precede changing it; avoid printing real secrets.
stat- Inspect a file or directory metadata record, including ownership, permissions, and size.
Metadata and file contents answer different questions.
Worked example and expected result
$ ls -la /home/learner--rw-r--r-- learner learners 105 .profile ddrwx------ learner learners dir .ssh ddrwxr-xr-x learner learners dir archive ddrwxr-x--- learner learners dir backups ddrwxr-xr-x learner learners dir data ddrwxr-xr-x learner learners dir lab ddrwxr-xr-x learner learners dir notes ddrwxr-xr-x learner learners dir projects --rw-r--r-- learner learners 148 README.txt ddrwxr-x--- learner learners dir restore ddrwxr-xr-x learner learners dir scripts
Exit status: 0. The command completed successfully in the training fixture.
$ cat ~/.profileexport PATH=/home/learner/bin:/usr/local/bin:/usr/bin alias ll='ls -la' # fake shell profile for training
Exit status: 0. The command completed successfully in the training fixture.
$ stat ~/.sshPath: /home/learner/.ssh Type: dir Mode: drwx------ Owner: learner Group: learners Size: 3 items
Exit status: 0. The command completed successfully in the training fixture.
Explain it
Apply it elsewhere
Keep the momentum.
Complete the lab, then explain and apply the pattern.
Next: Command historyTry an incident drillAnonymous lesson and mastery progress lasts for this session. Sign in to keep synced lesson XP between sessions; mastery stays device-local. No speed bonus, lost lives, or hint penalties.
Keep learning
- 01Paths and shortcutsPractice absolute paths, relative paths, dot, dot-dot, and home shortcuts.Practice
- 02Command historyRun a few safe commands, review history, and clear the display without resetting state.Practice
- 03Manual pagesUse simulated manual pages to learn command intent before running tools.Practice