When I type man bash it shows the info in the terminal itself.
How do I tell "man" to open up the info in gedit instead? Is this possible?
|
|
|
|
|||||||||||
|
|
Simply enter the following in the terminal:
That will create a temporary file with the contents of the man page and open it with |
|||||||||
|
|
Better yet, have man format it in HTML and open it in firefox
|
|||
|
|
If you don't want to use a shell: hit alt+f2 and enter |
||||
|
|
|
As well as opening the man page in Simply modify the command below according to the man page that you want and change the file names or else the resulting pdf files will be overwritten. Here is an example for
However, it is probably much more useful to construct a function. You could add the following function to your
After adding the function, you have to run Call the function with the name of any program that has a manpage, such as |
||||
|
|
|
On a case-by-case basis you can do:
The .txt file will be in your current directory.
will open the file in gedit. |
|||
|
|
|
This will create a temporary file with the manual page for bash in your home directory entitled "man" and open it with gedit. As soon as you close gedit the file will be erased too. Just replace bash with whatever man page you want to open.
Hope this helps :) |
|||
|