How can I run something through my own terminal that starts with a URI Scheme? For example, when running IntelliJ's Phpstorm with Vagrant, executing code tests from Phpstorm outputs something like:

vagrant:///home/user/Projects/Homestead/usr/bin/php phpunit ...

Now my question is how can I execute something through my terminal in the above sense. Not like ssh-ing to a vagrant machine and then doing stuff. I explicitly need the way to do this through my terminal.


Assuming vagrant has set up the system appropriately, use xdg-open.

xdg-open vagrant://....
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.