Open a manpage in the default (graphical) web browser

alias bman='man --html=x-www-browser'
An easy alias for opening a manpage, nicely HTML formatted, in your set internet browser. If you get a "command exited with status 3" error you need to install groff.

By: lordtoran
2016-10-23 17:59:47

What Others Think

doesn't work on Ubuntu: man: command exited with status 3: /usr/lib/man-db/zsoelim | /usr/lib/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE | preconv -e UTF-8 | tbl | groff -mandoc -Thtml
rubo77 · 208 weeks and 1 day ago
That means groff is not installed. Apparently it's not by default on Ubuntu because it is a suggested but not recommended soft dependency of man-db.
lordtoran · 208 weeks ago
When is this shit in the comments section ever going to be cleaned up?????????????????????????????????????
Farstrider · 196 weeks and 6 days ago
In `macos` ``` gman() { man "$1" | col -b > "/tmp/$1" open -a "/Applications/Google" "/tmp/$1" } ```
rakibfiha · 52 weeks and 3 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this? is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.


Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: