Linux command
cmus 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Open
cmus [path/to/directory]
Add
:add [path/to/file_or_directory]
Refresh
:update-cache
Search
/[something]
Pause/unpause
c
Example
s
Quit
q
说明
cmus is a small, fast, and powerful console music player for Unix-like systems. It supports a wide range of audio formats including Ogg Vorbis, MP3, FLAC, Opus, Musepack, WavPack, WAV, AAC, and MP4 through its plugin-based codec system. The interface provides seven views accessed via number keys 1-7: library (artist/album tree), sorted library (flat list), playlist, play queue, directory browser, filters, and settings. Navigation uses arrow keys and Enter to select, with vi-style keybindings available throughout. cmus features gapless playback, ReplayGain support, and can be controlled remotely via the cmus-remote command or its socket interface, making it suitable for integration with window managers and status bars.
参数
- --listen _ADDR_
- Listen on a UNIX socket or _host:port_ instead of the default location for cmus-remote
- --plugins
- List available input/output plugins and exit
- --show-cursor
- Always show the cursor (useful for screen readers)
- --help
- Display usage information and exit
- --version
- Display version information and exit
FAQ
What is the cmus command used for?
cmus is a small, fast, and powerful console music player for Unix-like systems. It supports a wide range of audio formats including Ogg Vorbis, MP3, FLAC, Opus, Musepack, WavPack, WAV, AAC, and MP4 through its plugin-based codec system. The interface provides seven views accessed via number keys 1-7: library (artist/album tree), sorted library (flat list), playlist, play queue, directory browser, filters, and settings. Navigation uses arrow keys and Enter to select, with vi-style keybindings available throughout. cmus features gapless playback, ReplayGain support, and can be controlled remotely via the cmus-remote command or its socket interface, making it suitable for integration with window managers and status bars.
How do I run a basic cmus example?
Run `cmus [path/to/directory]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --listen _ADDR_ do in cmus?
Listen on a UNIX socket or _host:port_ instead of the default location for cmus-remote