I'm trying to open a file in Numbers via terminal. I found the suggested command here: How to open files via Terminal
So I tried:
open -a "Numbers" filepath/filename
And I get:
bash: open: command not found
As a test I used open to simply open a photo via terminal and that worked fine so I'm not sure where I went wrong above.
type -a open
show? Is/usr/bin
in your $PATH?open
is not in your PATH (and not a function or alias either). It does not say whether or notopen
would do something reasonable if you are in a ssh shell. Probably it wouldn't, but this is not the point here.