The cmus command is a utility in Linux that is used to control the music player cmus (C* Music Player). cmus is a console-based music player that is designed to be lightweight and easy to use. It supports a wide range of audio file formats, including MP3, OGG, FLAC, and WAV, and can be controlled using keyboard shortcuts.
cmus Command Examples
1. Open cmus into the specified directory (this will become your new working directory):
# cmus path/to/directory
2. Add file/directory to library:
# :add path/to/file_or_directory
3. Pause/unpause current song:
# c
4. Toggle shuffle mode on/off:
# s
5. Quit cmus:
# q