Mac OS X has the very convenient
open command to open any file from the command line in the same way that the Finder would.
thilo$ open a.pdf
Is there a similar command for opening the file with Quick Look?
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.Visit Stack Exchange
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
qlmanage -p file will do what you want, I think.