$
Learn Linux handbook
en
XP:0
Quest 107Automation Architect
+475 XP

Boss Challenge 12: Automated Healthcheck Script

Launch Interactive Terminal for This Quest→No installation required • Runs fully in browser

Concept & Overview

OPERATIONAL REQUIREMENT: Deploy an automated system health-check script at /home/learner/healthcheck.sh.

The script must be a valid executable Bash script containing the #!/bin/bash shebang on line 1, must output the token SYSTEM_OK, and must have executable permissions (755 or rwxr-xr-x) so monitoring agents can invoke it directly without errors.

Create /home/learner/healthcheck.sh with #!/bin/bash shebang, echo SYSTEM_OK, and make it executable with chmod 755.

Command Syntax Reference

Command / SyntaxDescription
touch /home/learner/healthcheck.shCreate script file
chmod 755 /home/learner/healthcheck.shMake script executable
./healthcheck.shExecute script

Verification Objectives

These conditions will be automatically verified when you run commands inside the interactive terminal simulator:

  • ○
    Create /home/learner/healthcheck.sh with shebang and SYSTEM_OK output
  • ○
    Set executable permissions (755) on /home/learner/healthcheck.sh

Ready to complete Quest 107?

Test your skills live in the browser terminal with an emulated Linux filesystem, real-time command evaluation, and instant step-by-step hints.