How can I run a file like I could in command prompt?

Like say I wanna run this file


I'd first navigate using cd to the Bob Dylan folder, and then simply type "MrTambourineManOriginal.mp3" and then Windows Media Player would open and play the file for me.

Is that possible in Ubuntu?


Simply type the application you wish to open the file with before the filename.

Example, if I have a song called tasty.mp3 and I use rhythmbox, I would do

rhythmbox /path/to/tasty.mp3
  • 4
    Better yet, use xdg-open. – muru Oct 13 '14 at 4:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.