Linux equivalent command for "open" command on Mac/Windows?
Problem
Coming from Mac OS X, you can type: and your file will open just as if you had opened it from Finder. On Windows, one can type: and it will open just as if you had opened it from Explorer. On Ubuntu, I'd like to be able to open files in the same manner in GNOME. What's the command?
Error Output
$ open yourfilehere.txt
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: Linux equivalent command for "open" command on Mac/Windows?
is what you're looking for. You might like this snippet I put in my files so that whether I'm using cygwin on Windows, Linux, or OSX, I can use either the start or the open commands and they work great: Good comments, is indeed a better option than as explained below. I updated my personal scripts a while ago, but forgot to update this answer. WARNING: This will override the functionality of both (virtual terminal) and from init.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix