Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question

migrated from stackoverflow.com Oct 28 '10 at 3:26

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

3 Answers 3

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

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

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

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.