How to play a audio file in shell on Mac OS

MAC OS provides a very useful utility to play an audio file using shell. The utility or command is known as afplay (Audio File Play). Below is how to use this command to play an audio file:

Please let us know if there are other or better ways of doing the things…!!

Leave a Reply

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


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">