Re: Simple Shell Scripting Question

2000-10-15 Thread Nic Steussy
I also had problems with getting ppp to kill reliably. I put this in /usr/local/bin, and it seems to work pretty well. The unfortunate thing I could never get around is allowing a normal user to kill a 'hung' ppp process without the su password. I was going to explore the 'sudo' program, but th

Re: Simple Shell Scripting Question

2000-10-14 Thread Steven W. Orr
Someone suggested that you use killall, but I don't think that really answers your question. -- -Time flies like the wind. Fruit flies like a banana. Stranger things have - -happened but none stranger than this. Does your driver's license say Organ -Donor?Black holes are where God divided by zer

RE: Simple Shell Scripting Question

2000-10-14 Thread David Kramer
Uncle Meat wrote: > > On 15-Oct-2000 Kevin Diffily spoke something to the effect: > > I have been unable to create a simple program that will kill a > > running ppp connection. I have tried > > cat /var/run/ppp0|kill > > echo /var/run/ppp0|kill > > kill > etc. kill `cat /var/run/ppp0` Use bac

RE: Simple Shell Scripting Question

2000-10-14 Thread Uncle Meat
On 15-Oct-2000 Kevin Diffily spoke something to the effect: > I have been unable to create a simple program that will kill a > running ppp connection. I have tried > cat /var/run/ppp0|kill > echo /var/run/ppp0|kill > kill etc. > > Any help will be appreciated. Here's one that will work if us

Re: Simple Shell Scripting Question

2000-10-14 Thread Mike Burger
How about "killall -9 ppp On Sat, 14 Oct 2000, Kevin Diffily wrote: > I have been unable to create a simple program that will kill a > running ppp connection. I have tried > cat /var/run/ppp0|kill > echo /var/run/ppp0|kill > kill etc. > > Any help will be appreciated. > _