If I wish to execute the commands ls;cat test;cp test testlocation for example, can I confirm the start of each command prior to it executing? If it is possible, how do I do so?
I'm assuming you mean that each command in sequence succeeded.
In that case, do this:
In response to the clarification:
Create a function called