How Do You Play a .WAV File Using Ubuntu?

Problem scenario
You want to listen to a .WAV (or an .mp3) file on your Ubuntu/Debian/Linux Mint machine from the command line. What should you do?

Solution
Run this: sudo apt -y install sox

Run this (but substitute "/play/to" with the path to your file and replace "nameof.wav" with the name of the file you want to listen to): play /path/to/nameof.wav

Leave a comment

Your email address will not be published. Required fields are marked *