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.
open
thilo$ open a.pdf
Is there a similar command for opening the file with Quick Look?
qlmanage -p file will do what you want, I think.
qlmanage -p file
qlmanage -p /PATH/TO/FILE
man qlmanage
qlmanage -p 2>/dev/null
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
By posting your answer, you agree to the privacy policy and terms of service.
tagged
asked
3 years ago
viewed
391 times
active