# How to record and play audio in Ubuntu's terminal

Today I learned how to record and play audio using arecord (opens new window) and aplay (opens new window) via this blog post (opens new window) when I was trying to test my microphone.

You probably don't need to install anything extra if you're running Ubuntu to run these commands.

To record audio, run arecord <filename>. Press Ctrl-C to stop the recording. To play back the audio, run aplay <filename>.

Thank you for reading my blog! If you enjoyed this post, you're welcome to subscribe via RSS here (opens new window) (I can recommend NetNewsWire on iOS).

Last Updated: 4/14/2021, 10:41:39 AM