I'm writing a .sh script like the following:
echo script started
./some_command > output_file
echo script ended
I'd like the output to be the following:
script started
./some_command > output_file
script ended
I've tried set -v
, set +v
but it didn't work properly,
is there anything similar to @echo
in batch?
Thanks