Does anyone know if there\'s a way to run automatically in shell a list of commands (from a text file)?
I need to run a lot of scripts (around 1000). The scripts are in
That's called a "shell script."
Add this to the top of your file:
#!/bin/sh
Then execute this command:
chmod +x filename
Then execute it like a program:
./filename
Alternately, you can execute the shell directly, telling it to execute the commands in your file:
sh -e filename