HF RL Explorer

Task: Implement Automatic Exit on Error in Bash Shell Scripts

Task: Implement Automatic Exit on Error in Bash Shell Scripts: a task in Terminal-Lego-15k (Harbor dataset). You need to create a bash shell script that automatically exits when any command fails, rather than continuing execution. This is a common requirement when writing shell scripts where…

The task

You need to create a bash shell script that automatically exits when any command fails, rather than continuing execution. This is a common requirement when writing shell scripts where subsequent commands depend on the success of previous ones.

Part of PrimeIntellect/Terminal-Lego-15k.