Gangmax Blog

Linux equivalent of the Mac OSX “open” command

In Mac OSX, you can use the “open” command to open almost all kinds of files which equals to double-click the file icon in GUI. Is there an equivalent thing in Linux?

The answer is from here which is “xdg-open“. You just need to use the command like below.

xdg-open ~/Documents/charts_raw_data.ods