View pdfs as pure text on linux


SUBMITTED BY: Guest

DATE: Nov. 25, 2012, 7:34 a.m.

FORMAT: Text only

SIZE: 573 Bytes

HITS: 1373

  1. At the command line you can use the 'less' command to view the content of a pdf document,
  2. without any graphic support, just in shell alphanumeric mode.
  3. This only require a piece of code on the linux startup file of your choice,
  4. which could be ~/.bashrc, ~/.profile or another one.
  5. That's the code: eval "$(lesspipe)"
  6. Now you have a very empowered less command, capable not only to output pdfs contents,
  7. but also doing things as explorer .iso and .tar.gz contents, view Microsoft Words docs and more.
  8. [other details --> http://cur.lv/9kdx]

comments powered by Disqus