Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 Linux 粉丝。
几天前我发现 tmux 非常有用。
现在我整天都在使用它。我在远程 shell 上运行 tmux 并在那里工作。在我的本地电脑上只有一个终端工作。我发现有趣的事情:当新邮件到达时,我的 mutt 程序会发出哔哔声。并且 tmux 正在将此哔声传输到我的本地 PC,有没有办法通过任何 shell 命令运行类似的哔声?我想将它用于一些命令完成标志。
我写了一个叫做 beep.sh 的小脚本,我用它来做这样的事情:
#!/bin/bash echo $'\a' > `/usr/bin/tty`