Forrest logo
back to the mocp tool

mocp:tldr:801ce

mocp: Launch the MOC terminal UI in a specific directory.
$ mocp ${path-to-directory}
try on your machine

The command "mocp ${path-to-directory}" is used to launch the "Music On Console Player" (MOC) application and play the music files located in the specified directory.

Here's a breakdown of the command:

  • "mocp" is the executable name of the Music On Console Player.
  • ${path-to-directory} is a placeholder that should be replaced with the actual path to the directory where your music files are located.

By running this command with the appropriate path, MOC will start playing the music files in that directory. It's important to note that MOC supports various audio file formats, such as MP3, FLAC, Ogg Vorbis, and more.

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 mocp tool