If I have a text file with a separate command on each line how would I make terminal run each line as a command? I just don\'t want to have to copy and paste 1 line at a tim
you can make a shell script with those commands, and then chmod +x , and then just run it by
chmod +x
./scriptname.sh
Its very simple to write a bash script
Mockup sh file:
#!/bin/sh sudo command1 sudo command2 . . . sudo commandn