open

This command is handy for popping a Finder window from terminal, as well as opening files, folders, URLs, and applications straight from the command line.

Open the current folder in Finder

Drop into whatever directory you're working in and run:

open .

Other handy variations

  • Open the parent directory:
open ..
  • Open your home folder:
open ~
  • Open a specific path:
open /some/path
  • Reveal a specific file in Finder (highlights it instead of opening it):
open -R somefile
  • Open a URL in your default browser:
open https://7minsec.com
  • Open a file with a specific application:
open -a "Visual Studio Code" notes.md