HF RL Explorer

Task: Execute a Command for Each Line of a File

Task: Execute a Command for Each Line of a File: a task in Terminal-Lego-15k (Harbor dataset). You are given a file containing a list of file paths (one per line). Your task is to write a shell script that reads each line from the input file and executes chmod 755 on each listed file path.

The task

You are given a file containing a list of file paths (one per line). Your task is to write a shell script that reads each line from the input file and executes `chmod 755` on each listed file path.

Part of PrimeIntellect/Terminal-Lego-15k.