Convert Linux manual man page to text file.
Convert Linux man page to text file in Linux and Windows
Sometimes after we view the man pages in Linux and then we want to copy or bring the man pages and view on other operating system, as example we want to view the Linux man pages on Windows operating system. The easier way to do this is to copy the man pages or convert the Linux man pages to text file. The command below show how to convert Linux man pages to text file.
[root@fedora ~]# man arch | col -bx >arch.txt
[root@fedora ~]#
Command Explanation:

To display the man in text file format using cat command in Linux:
[root@localhost ~]# cat arch.txt
[root@localhost ~]#
To open the Linux manual in text file format in Windows, just use the WordPad :

Keywords: convert man page to text, convert man page, save man page to text file, man page to text file, open man page on windows, open linux manual page in text
- Add new comment
- 7981 reads
- Email this page
Thanks for Reading and Check Other Popular Linux Topics
All time:
- Configure and Setup Squid Cache Proxy Server on Fedora Core.
- Using Linux rm command to delete, remove hidden files and folder - Basic Linux Command.
- Copy Linux Files and Copy Directory Using cp Command - Linux Basic Command.
- Moving or rename files and directory using Linux mv command - Basic Linux Command.
- Add, view, edit and configure route and static route on Linux Fedora Core - Linux Server Configuration.
- Get and display the size of file and directory in Linux system using du command.
- Step by step Install Setup and Configure Linux Fedora Core Server and Network Management with Screen Shot and Example.
- Create file and display file contents in Linux using cat command.
- Configure Squid to block HTTP request to specific web sites.
- Example of samba smbpasswd file and samba smbusers configuration file.

1 comment
Something worth noting about this method
Submitted by SilversleevesX on Sat, 01/30/2010 - 19:59.I have, so far, only used it to convert one man page, exiv2, to text, and I was, admittedly, not using a Fedora-core Linux to make the conversion. The output text file displayed without the familiar, and undoubtedly important, hyphens preceding lower-case letters in the man page's Options list. I've looked over this output text file and compared it both with the manual in my terminal emulator as well as one or two HTML versions on the Web, and so far, this is the only flaw I can observe.
O'Reilly's man page on the col(umn) command suggests leaving out the -x option when converting man pages to some other format such as .print. As the -x option merely suppresses conversion of "sequences of spaces to tabs," I can't see where it would make that great a difference. Still, it may be worth trying for those using, as well as not using, a Fedora Linux.
Nonetheless, I thought it should be noted that the text file of a man page without punctuation in certain crucial places may be a possible outcome of using the above command.
Thanks for giving this a read.
SilversleevesX