Mission 03

Hidden files

Use long and all listings to reveal dotfiles and read shell startup notes.

Terminal basics
7 minutes Beginner Lesson 3 of 360
ls -lacatstat
Lesson 3 of 360 0/360 lessons 0/17 missions Terminal basics · 7 minutes
0%
Continue View profile
Ops lab terminal Training lab
New learnerrank 0XP 0%complete
learner@clairos:/home/learner $ Unix ops lab: type a command, press Enter
Instructions 7 minutes

Click any instruction for the command details, the why, and the common mistake to avoid.

Show hidden files

Run ls -la /home/learner.

ls -la /home/learner
Read the profile

Run cat ~/.profile.

cat ~/.profile
Inspect SSH folder

Run stat ~/.ssh.

stat ~/.ssh
Lesson support

What to notice while you play.

Objective

Learn what dotfiles are and how to inspect them safely.

Hint

Use ls -la in your home folder.

Why it matters

Admin work often depends on hidden configuration files.

Common mistakes
  • Assuming ls shows everything.
  • Editing hidden config before reading it.
Reference

Commands in this lesson.

ls [-la] [path]

List lab files and folders.

cat <file>

Print text file contents.

stat <path>

Show lab file details.

lsof

Show simulated files and sockets opened by services.