[svlug] Newbie ques: How to echo commands from a script file

Jay Link jlink at ilbbs.com
Tue Jan 8 09:34:01 PST 2002


> How do I cause all the commands from a script file to echo to the
> terminal window.
>
> echo on does not seem to work if I put that in my script file

Yeah, Linux is not DOS!  (tm)

There is no way, really. You will have to put a separate line in (each
time) to echo the command, like so:

echo "Starting sendmail..."
/usr/sbin/sendmail -bd -q15m

echo "Launching missiles..."
/sbin/launch -wopr -f target_list





More information about the svlug mailing list