Training · Linux fundamentals
The analogy. A city with one rule: everything is an address. Files, disks and even running processes have a path, which is why the same three tools can inspect all of them.
The shell is the classroom: the lecture behind this lab covers the mental model, the commands you are about to use, and the four things that usually go wrong.
Read the lecture before you startServices: Managing systemd Units
Start, enable and stop services with systemctl, and capture a unit's status. State is graded from systemd's own files, not from the screen.
Activities
01Start the nginx service
nginx must be running.
02Enable nginx so it starts at boot
The unit must be enabled, not just running.
03Stop the cron service
cron is running when you arrive; stop it.
04Save nginx's status to /opt/status.txt
The captured report must show the unit is active (running).