$
学ぶ Linux ハンドブック
ja
XP:0
クエスト 107Automation Architect
+475 XP

Boss Challenge 12: Automated Healthcheck Script

このクエストの対話型ターミナルを起動する→インストール不要 • ブラウザ上で完全動作

概念と概要

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 / SyntaxDescription
touch /home/learner/healthcheck.shCreate script file
chmod 755 /home/learner/healthcheck.shMake script executable
./healthcheck.shExecute script

検証目標

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

クエスト完了への準備はできましたか? 107?