gpt4 book ai didi

command-line - Ubuntu 终端中的声音通知

转载 作者:行者123 更新时间:2023-12-04 07:29:02 25 4
gpt4 key购买 nike

这个问题在这里已经有了答案:





In a bash script/command how can I make a PC beep noise, or play a sound file?

(8 个回答)


2年前关闭。




当运行诸如 bundle install 之类的命令时(对于 Ruby 应用程序),我想在命令完成时听到一个小的声音(或弹出)通知。我怎样才能做到这一点?

最佳答案

安装工具“哔”。

$ sudo apt-get install beep 

现在您将“; beep”附加到您运行的任何命令。
$ bundle install; beep 

关于command-line - Ubuntu 终端中的声音通知,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4273098/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com