[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Beep-Beep



On Sun, 31 Aug 1997, Alex wrote:

> Hi,
> 
> I've found it usefull to make my serbver BEEP when happen
> some interesting events. So here  is ingenious script
> making PC beep!
> 
> -----8<-----------
> #!/bin/sh
> while [ 1 ] do;
> printf "\a"
> sleep 2
> done;
> -----8<-----------
> 
> Brilliant! BUT it beeps only when it is run on
> particular TTY. If it is run at background, it stops
> beeping when it's TTY dies.
> 
> Question:
> How to make a script BEEP on a host machine even
> when it's TTY dies?

Try using nohup(1)

--Ariel

> Alexander Rier
> e-mail:  alexr@gezernet.co.il
> Tel:     972-3-5340807
>        972-52-442549
> ICQ:     2462621
> 

   +---------------------------------------------------------+
   | Ariel Biener                                            |
   | e-mail: ariel@post.tau.ac.il        Work ph: 03-6406086 |
   +---------------------------------------------------------+