Monthly Archives: May 2012

Extract a tar file and change user ownership

gtar -x -f gpg.tar -v –owner=newuser

Posted in Linux | Tagged , , , , | Leave a comment

Viewing .doc & .docx in mutt

First, install doc2txt & antiword. Secondly, add application/vnd.openxmlformats-officedocument.wordprocessingml.document; cat %s|/usr/local/bin/docx2txt.pl; copiousoutput application/msword ; antiword %s ; copiousoutput to ~/.mailcap Now ‘v’ to view the word attachment should work

Posted in Linux | Tagged , , , , , , | Leave a comment