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

Re: beep unconditionally



> How does one get a beep unconditionally from that little speaker be it
> from a batch job or whatever.  Assume I can give a valid $XAUTHORITY.
> 
> I used to do the below, but now:
> $ echo -e \\a > /dev/console 
> bash: /dev/console: Permission denied
> Now only root can make it beep.  Without resorting to root powers,
> what can one do?
> -- 
> http://jidanni.org/ Taiwan(04)25854780

Try:

printf "\a"

HTH

--------------------------------------------------------------------------
Stephen W. Juranich                             sjuranic@ee.washington.edu
Electrical Engineering             http://students.washington.edu/sjuranic
University of Washington                http://ssli.ee.washington.edu/ssli





-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: