Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I usually play songs on mplayer through terminal. However, I don't know to put a song on repeat - as I want to listen to a particular song again and again.

How to put a single song/set of songs on repeat?

share|improve this question


mplayer -loop <repeat count>

Setting count to zero (-loop 0), should repeat it infinitely.

share|improve this answer
Is it possible to do this while a song is playing? – CMCDragonkai Aug 27 '15 at 14:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.