Open the current folder in Finder
open .
Open a file using the default application
open mydoc.txt
Open a file a specific application
This is the same command as right-clicking on an item in finder and choosing 'Open With'. It can be really handy for testing an html file in a specific browser.
open -a /Applications/Safari.app index.html
No comments:
Post a Comment