Play mp3’s with the commandline

multimedia.png

mpg123 is a command line mp3 player for unix-based systems. It’s relatively simple to use. To install:

  • on Fedora: yum install mpg123
  • on Ubuntu: sudo apt-get install mpg123
  • on openSuse: zypper in mpg123
  • run the application:

mpg123 /home/username/song.mp3

or

mpg123 -C /home/username/music_folder/

Ta da.

By using the -C switch, keyboard controls are enabled and by default you can use ’s’ to stop, ‘p’ to pause, ‘f’ to jump forward to the next song, ‘b’ to jump back to the beginning of the song, ‘,’ to rewind, ‘.’ to fast forward, and ‘q’ to quit. Type ‘h’ for a full list of available controls.

Related Posts

Leave a Reply

You must be logged in to post a comment.