Tuesday, September 13, 2011

How can i use a bash script to open a .pdf file ?

i want to change to the directory, and execute foo.pdf and have it open in my default pdf reader .. thanksHow can i use a bash script to open a .pdf file ?
i believe the acrobat reader is called ';acroread'; (i may be wrong. please check it. it is the ';executable'; that

opens acrobat reader)



so at the prompt, say:



acroread dir/subdir/file.pdf



to open file.pdf in dir/subdir using acrobat reader





if you put that in your bash script, you'll be good

to go.





Mahurshi Akilla
  • how to fall in love with
  • email host
  • No comments:

    Post a Comment