Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

PDF files

  1. Jun 30, 2008 #1
    how do i open a PDF file in the bash shell on a mac?
  2. jcsd
  3. Jun 30, 2008 #2

    D H

    User Avatar
    Staff Emeritus
    Science Advisor

    Code (Text):
    open -a /Applications/Preview.app path/to/file.pdf
  4. Jun 30, 2008 #3
    Actually, it should be simpler than that. On mine (Leopard), the following does the trick:

    Code (Text):
    open path/to/file.pdf
  5. Jun 30, 2008 #4
    thanks guys -- i actually had to use port forwarding since the file was located on another computer cluster.
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Discussions: PDF files
  1. Add file (Replies: 1)

  2. File output (Replies: 4)