On 0, Dan Jacobson <jidanni@deadspam.com> wrote: > 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? echo -e \\a works for me, both in a shell and a script. Tom -- Tom Cook Information Technology Services, The University of Adelaide "Other people's priorities are endlessly odd." - Kingsley Amis Get my GPG public key: https://pinky.its.adelaide.edu.au/~tkcook/tom.cook-at-adelaide.edu.au
Attachment:
pgpOQ0pLuLHUK.pgp
Description: PGP signature