Problème :
Comment générer un son à partir du terminal Bash ?
Solution :
En fait, il existe deux solutions principales pour générer un son à partir du terminal Bash :
- Utiliser echo -e « \a »
- Utiliser tput bel
Exemple :
Comme dit précédemment, utilisez l’une des deux lignes suivantes pour générer un son à partir du terminal :
echo -e "\a"
tput bel

Laisser un commentaire