How To Play Music From Command Line (Terminal)
Most people like me prefer using Command Line in everyday life to Graphical User Interface (GUI) .
Today i`am going to show you how play music files from the Command Line using one of the best Command Line players (SoX) which supports most audio formats. Such as: wav, mp3, mpg, mp3, ogg, flac, etc.
SoX – Sound eXchange from the $ man sox is described as , the Swiss Army knife of audio manipulation.
Let’s get started, to install SoX:
1. Launch the terminal (Ctrl + Alt +T) type the command below and strike enter:
sudo apt-get install sox
2. Input your password and hit enter.
3. Type “y” without quotes and hit enter.
4. After installation has been completed, run the command below to make SoX play .mp3 and other audio file formats.
sudo apt-get install sox libsox-fmt-all
5. After the installation is done. Now you are ready to play any audio file from any directory.
6. To play all .mp3 files in any directory, change directory and use this command:
7. To play a specific file, type play file-name.extension
eg: play Aqua_Barbie_Girl.mp3 will play only this file
8. To play next track Press Ctrl + c once and to stop or quit player, Press Ctrl and hit c twice.
9. For more about Sox , type man sox in the terminal and hit enter.
Like us on Facebook
We need your assistance to stay live
This week Top Posts
- Top Things To Do After Installing Ubuntu 13.10 'Saucy Salamander' : Ubuntu 13.10 Saucy Salamander will be released on coming October 17th with many new salient featur...0 comments |
- Install Fail2Ban On Ubuntu Server 13.04/13.10 : Introduction Fail2Ban is an intrusion prevention framework written in the Python programming l...0 comments |
- 5 Android Apps that’s Going to Make Running Your Business Less Stressful : Running a business can be very stressful. You have to think about team collaboration, making sure th...0 comments |
- install Git in Ubuntu : Git is a distributed revision control system with an emphasis on speed. Git was initially designed a...0 comments |
- Install Crashplan backup tool in Linux : CashPlan is an automated backup solution that either uses the CrashPlan Central server or any other ...0 comments |
- Install Corosync and Pacemaker On CentOS 6.5 : I will show you in this tutorial how to install your first cluster Corosync and the Linux Cluster Ma...0 comments |
- 5 Android Apps that’s Going to Make Running Your Business Less Stressful
- Puppet agent Install Using Script
- Install Corosync and Pacemaker On CentOS 6.5
- Install Fail2Ban On Ubuntu Server 13.04/13.10
- How to surf using Tor Browser Bundle
- New Games got Greenlit on Linux by Steam Today!
- Linux Basics: Zypper Usage On openSUSE
- GNOME’s 3.12 supports Google Cloud Print
- How to enable 32-bit support for 64-bit Ubuntu 13.10 or greater
- How To Change Plank Dock Position in Elementary OS “Luna”
This work by unixmen.com is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Copyright © 2008-2013 Unixmen.com .