Re: Non-interactive shell and /dev/null

2002-10-26 Thread Craig Dickson
Try KDE wrote: > I noticed some shell script, for example those under /etc/cron.*/, uses > "command > /dev/null" style. I think it's because they know the scripts > is run under non-interactive shell. My question is, what would happen if > ">/dev/null" is removed and the command tries to print

Re: Non-interactive shell and /dev/null

2002-10-26 Thread nate
Try KDE said: > Hi Everyone, > > I noticed some shell script, for example those under /etc/cron.*/, uses > "command > /dev/null" style. I think it's because they know the scripts > is run under non-interactive shell. My question is, what would happen if > ">/dev/null" is removed and the command tr

Non-interactive shell and /dev/null

2002-10-26 Thread Try KDE
Hi Everyone, I noticed some shell script, for example those under /etc/cron.*/, uses "command > /dev/null" style. I think it's because they know the scripts is run under non-interactive shell. My question is, what would happen if ">/dev/null" is removed and the command tries to print something