$ osascript -e 'POSIX path of (path to application 'VLC')' Helpful, in case of that the VLC is placed in another directory rather than /Applications, such as /Users//Applications ( ~/Applications) or other directories.
Here're 2 ways to find out the actual path of the app that launches with open command.