Forrest logo
back to the mpg123 tool

mpg123:tldr:a89ca

mpg123: Play the specified mp3 files.
$ mpg123 ${filename1-mp3 filename2-mp3 ---}
try on your machine

This command uses the "mpg123" command-line audio player to play multiple MP3 files at once.

The "${filename1-mp3 filename2-mp3 ---}" part is a placeholder for the actual file names. It uses the curly brace expansion notation to create a list of file names separated by spaces.

For example, if you have two MP3 files named "song1.mp3" and "song2.mp3", you would replace "${filename1-mp3 filename2-mp3 ---}" with "song1.mp3 song2.mp3".

The three dashes at the end "---" are optional and can be used to indicate the end of the list of file names, although they are not necessary in all cases.

The "mpg123" command will then play the MP3 files sequentially in the order specified in the command, using your default audio output.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the mpg123 tool