Linux

Linux shell and filesystem basics

October 3, 2026•Beginner•30 min
Beginner30 minStep 1

Learn the commands you will use constantly while administering a server

Goal
You should be able to demonstrate the result described in the lesson and explain why each step was necessary.

Step-by-step

01

Know where you are

Use pwd to print the working directory and ls -la to inspect hidden files and permissions.

02

Move safely

Use cd to navigate and prefer absolute paths when running administrative commands in tutorials.

03

Read before editing

Use less, cat, head, and tail to inspect configuration and logs before changing them.

04

Copy before destructive changes

Use cp to make a timestamped backup before editing critical config files.

05

Understand ownership

Use ls -l, id, and stat to see which user and group own a file before changing permissions.

Verify before moving on
You should be able to demonstrate the result described in the lesson and explain why each step was necessary.

Troubleshooting

If a command or screen differs from the lesson, stop and verify the version you are using before forcing a change.

What you learned

You now understand the purpose of this part of the system and have a concrete result you can verify before continuing to the next lesson.