HF RL Explorer

Task: Exit Shell Script Based on Process Exit Code

Task: Exit Shell Script Based on Process Exit Code: a task in Terminal-Lego-15k (Harbor dataset). You need to create a shell script that executes multiple commands and automatically exits if any command fails (returns a non-zero exit code). This is a common requirement for robust shell scripting…

The task

You need to create a shell script that executes multiple commands and automatically exits if any command fails (returns a non-zero exit code). This is a common requirement for robust shell scripting where you want to ensure all commands succeed before continuing.

Part of PrimeIntellect/Terminal-Lego-15k.