open any file from osx command line?

How do I open a file from the command line on osx?  I want to be able to open files from Terminal.app. 

With Textmate, I can just use "mate /some/file/or/dir/to/open" and it pops right up.  I want to be able to do the same with IntelliJ.

Thanks!

Matt

Please sign in to leave a comment.