Reputation: 4573
on windows exist command:
start myfile.mp3
start myfile.txt
on mac:
open myfile.mp3
open myfile.txt
Are there analogue command under Ubuntu?
Upvotes: 3
Views: 1012
Reputation: 301
Try "gnome-open", for Gnome powered distros.
gnome-open random-file.torrent will open my torrent app.
Upvotes: 0
Reputation: 1715
There are several commands in Linux that help you open application associated files. If you know the application to open the file, then this may work . I am not sure if you are looking for this
env DISPLAY=:0.0 firefox "google.com" opens Firefox with google.com opened in it. You can replace the application name and file name and use this command.
Upvotes: 0