Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
You can use:
catdoc or antiword as follows
catdoc file.doc > file
antiword.doc > file
for docx you can use docx2txt
for pdf you can use pdf2txt or emacs
e.g. open emacs using the following command emacs file.pdf
emacs automatically shows a text version, save it by the following command
ctrl-x ctrl-s file