Continue your lesson
Connect the command you run to the file, process, service, permission, or kernel state it changes.
Block 1 of 1Compare Shell variable · Shell conditional · Shell function · Exit status
Current · 14 min
Compare Shell variable · Shell conditional · Shell function · Exit status
Optional concept notes
Shell variable
Stores a value for later expansion within shell commands.
Shell conditional
Chooses which commands run according to a tested expression.
Shell function
Groups reusable commands under a callable name.
Exit status
Reports command success or failure as an integer value.
Complete one provider lesson, then answer four related questions. That is enough for today; more practice is optional.
Your lesson stays open here while the provider opens in another tab. Choose one source; the notes above are optional.
Practice the reasoning here
Use a disposable Linux system. Predict a command's effect, run it, inspect exit status and logs, then restore the starting state.
- State the expected result before changing or testing anything.
- Name the observation, command, log, or report that would confirm it.
- Explain why the closest alternative does not fit the same requirement.
Check the whole objective
This unlocks objective 4.2 for recall. The latest checkpoint needs 70% or higher; a lower result puts the lesson back near the front of your timeline.