Re-installing Linux O.S. and then running bunch of commands in a .sh
script , how to stop the script if something fails?
If i copy and paste all the commands into the terminal.. some do not even
go through.
so the solution is perhaps to turn the file into an executable file and
then execute it.
but what if some commands fail.
the script keeps on executing the other commands.
obviously there is no solution to this right ?
No comments:
Post a Comment