Home » Questions » Computers [ Ask a new question ]

a linux cli equivalent to mac's "open" command? or windows "start" command?

a linux cli equivalent to mac's "open" command? or windows "start" command?

In a mac cli, I can type open file.jpg and the mac will automatically figure out the correct application and open it for me.

Asked by: Guest | Views: 230
Total answers/comments: 2
Guest [Entry]

"If XdgUtils is installed files can be opened via

xdg-open file

Otherwise there might be something provided by the desktop environment, e.g. for gnome

gnome-open file"
Guest [Entry]

"It seems that you can append an ampersand to your line:

Windows :

start ""Title"" /MIN <application>

Linux :

<application> &

As a result, you'll see the process ID of the application and in the terminal window where you're located, you'll see the output of the application."