[Techtalk] shell scripting
conor.daly at oceanfree.net
Tue Feb 11 01:51:08 EST 2003
On Mon, Feb 10, 2003 at 02:26:41PM -0800 or so it is rumoured hereabouts,
Laurel Fan thought:
> 1. htdig, etc. does not act like sleep; ie. it exits before it's done
> (runs in the background)
> I would guess that #1 (or neither) is more likely than #2.
> To test #1, run htdig from a prompt, and see if you get your prompt
> back immediately, or when it's done.
And if it _does_ return immediately, have look at 'man htdig'  for a
"debug" switch. Many programs that put themselves in the background 
also have a "debug" option which keeps them in the foreground so you can
see the output. This would prevent it returning before it's finished.
 Sorry, I haven't got htdig installed so I can't do a 'man htdig'
 htdig sounds like the kind of thing that _would_ drop into the
background while it's busy indexing.
 Of course it might be called something completely different like "stay
Conor Daly <conor.daly at oceanfree.net>
Domestic Sysadmin :-)
12:49am up 97 days, 9:33, 0 users, load average: 0.15, 0.03, 0.01
12:44am up 1 day, 4:42, 2 users, load average: 0.08, 0.09, 0.05
More information about the Techtalk