Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

is there a shell command in Linux (for VLC media player) to open a *.mp3 file?

share|improve this question

migrated from Oct 28 '10 at 3:26

This question came from our site for professional and enthusiast programmers.

Short Answer is yes.

The official VLC command-line help wiki page can give you all the commands you need, and you should be able to just type:

vlc name.mp3

That should open the file, if you have custom devices for output you would specify that in the command line.

share|improve this answer
Thank you very much :D – BeeS Oct 27 '10 at 20:21

There is also cvlc, the interface-less cousin of VLC. If you are running a streaming server remotely, cvlc is the way to go.

share|improve this answer

You can use vlc -I ncurses to start a command line version of vlc.

share|improve this answer
Or -I rc, for something even simpler. – ephemient Oct 28 '10 at 5:27

You must log in to answer this question.