Listening to music via terminal

Listening to music via terminal

We can listen to music in Terminal using Mplayer. For whom don’t know what Mplayer is, it is an open source software for multimedia which can play a wide variety of media formats, it is multi-platform which means, this application works in Linux, and other Unix-like systems, Microsoft Windows and Mac OS X…

To listen to music in Terminal, you must have Mplayer installed on your machine. or install it by the following command.

For Ubuntu / Mint users :

sudo apt-get install mplayer

For Arch Linux users :

sudo pacman -S mplayer

Go to directory, you want to play music from, for me, it is “Music” :

cd Music

Then play, music you want :

mplayer loveme.mp3

If you to play all mp3 files on that directory :

mplayer *.mp3

If you want to play them all :

mplayer *

You can also play two pieces of music or more, depending on you :

mplayer loveme.mp3 && mplayer hateme.mp3


mplayer in terminal

http://ift.tt/1l4C5Mi

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s