←back to thread

2039 points Gadiguibou | 1 comments | | HN request time: 0.227s | source
Show context
donatj ◴[] No.36492114[source]
When mentioning `open` they should have noted that `open <file>` will open the given file with its associated app.

It’s indispensable.

replies(3): >>36492946 #>>36493992 #>>36494291 #
computerfriend ◴[] No.36492946[source]
Especially

    open .
if you need to drag a file somewhere. One thing that kind of breaks my muscle memory here is the opposite, something like

    firefox file.html
doesn't work and you have to fiddle with the arguments to get open to launch a non-default application.
replies(2): >>36493311 #>>36494158 #
1. alanpearce ◴[] No.36493311[source]
If you set

    alias firefox="open -a Firefox"
This will work