DEV Community

Bianca Luísa
Bianca Luísa

Posted on

2

alias to toggle your microphone using terminal

If you type it on your bash, you will alternate your microphone on/off switch (toggle). If you are using ubuntu 18.04 open a terminal and type the command below:

echo "alias mic='amixer -D pulse sset Capture toggle'" >> ~/.bashrc && . ~/.bashrc

now when you type mic on your terminal it will alternate between muted or not.

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

AWS GenAI LIVE!

GenAI LIVE! is a dynamic live-streamed show exploring how AWS and our partners are helping organizations unlock real value with generative AI.

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❤️