Basically, what is the equivalent to
which would return some "pointer" back to the Vivaldi app on my system.
See below for what does the job graphically:
I did see some related questions:
- xdg-utils didn't seem to work after installing with macports, so that's out.
- That's a really old question, some of the utilities don't have the same path anymore and none of the answers were very informative about getting an exact result.
For what it's worth, I want it because some of my files are associated with VS Code and some with Sublime Text. Under some conditions I also get provided a line number and the syntax to specify it is different:
- VS Code:
code <filename>:<linenum> -g