I need to hide content of .sh script and only show echo "messajes". The equivalent of windows batch: @echo off
Examples:
echo "Download..."
wget http://mypage.com/files/file.zip
echo "Ending..."
sed -e '/^#/d' file2.tar.gz | sed 's/^/./' | sort -u > out
echo "Done"
I need this result in console:
Download..
Ending..
Done
@echo off
is there to hide the commands themselves being printed but that's the default inbash
(and AFAIK there isn't even any option to activate the DOS behavior either). – phk Oct 27 '16 at 19:51