Go2Linux | Linux Operating System

A site dedicated to: Linux Operating System

Small tip - convert, or export a man page to a TXT file

Date: 2010-11-29 00:00:00 -0400

tips

Well, now this is really a very small tip, but if you trying to send a man page my email, or any other similar thing a very useful one.

So let’s see how to create a TXT file out of a man mam page. I will ls as the command for the example.

man ls | col -b > /tmp/ls-man-page.txt

That is, now you send the file /tmp/ls-man-page.txt as an email attachment, or any other thing.

If you liked this article please share it.

powered by TinyLetter

If you want to contact me in any other way, please use the contact page.