Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

Let the local machine beep when some event happen on remote?

Solution 1:

Create alias for beep to echo -en "\007" (beep (bell) character)

Normally beep is using your pc speaker, not terminal bell

Solution 2:

This worked for me on both OSX and a remote unix server, beeping through the normal sound output: echo -e '\a'

beep(){ echo -e '\a';}
beep
sleep 5 & beep # beeps now
sleep 5; beep # beep in 5s
# same thing using ruby -e 'sleep 5'

Tags:

Ssh

Remote

Related

bash: use outside variables when reading multiple lines into ssh Apache2 Proxy timeout SSH hangs on login after 'last update' Tuning ZFS scrubbing, 141KB/s running for 15 days Change default directory when I SSH to server What does "The IO operation at logical block address # for Disk # was retried." mean when seen in the Windows Server System event log? mdadm mdadm: cannot open /dev/sda1: Device or resource busy nc (netcat) hangs, waiting for more data, in UDP mode. nginx case insensitive rewrite How to reset Ubuntu 12.04 iptables to default without locking oneself out? Mysql. Bind on unix socket: Permission denied Installing from EPEL on Amazon EC2

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy