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

Nate Campi nate at wired.com
Tue Jan 8 18:58:02 PST 2002


On Tue, Jan 08, 2002 at 09:27:47AM -0800, Todd G. Gardner wrote:
> Hello,
> 
> I am running rh72.
> 
> 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

http://www.campin.net/pearls.html has a section on how to use

set -x
set -v
set -n
set -u

... in bourne compatible shell scripts. You'll get your answer there.
-- 
Nate Campi | Terra Lycos DNS | WiReD UNIX Operations

Microsoft is not the answer -- Microsoft is the question.
No is the answer.





More information about the svlug mailing list