
Here is a small trick.
Open your bashrc filegedit ~/.bashrcadd this function at the end filefunction manpdf { man -t $1 | ps2pdf - | okular - ; } save and exit.Now close the terminal.Open terminal againNow you can view man pages in pdf format using command like this , type this in terminal$ manpdf ffmpeg I have attached the screenshot
PS: inorder to work it correctly you need to install ps2pdf and okular
I have tried for evince but it failed to load content. may be you can provide the correct syntax.
No comments:
Post a Comment