How do I launch Finder from terminal or command line [duplicate]

I use command line a lot, like most programmers. I want to be able to launch Finder, Safari or any other application for that matter from command line e.g.

finder .

where it will start Finder app, and the set the view to the current folder that I am in at the command line.


To open your current directory in Finder from Terminal, type open .

So, if you want Documents: open Documents

Library: open /Library

Downloads: open Downloads

And so on.