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.

3
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 · 256 weeks and 3 days 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 · 256 weeks and 3 days ago
When is this shit in the comments section ever going to be cleaned up?????????????????????????????????????
Farstrider · 245 weeks and 2 days ago
In `macos` ``` gman() { man "$1" | col -b > "/tmp/$1" open -a "/Applications/Google Chrome.app" "/tmp/$1" } ```
rakibfiha · 100 weeks and 6 days ago
took me time to read the forum but its actually great. People should know about this more. bathroom remodel toledo
Killersmile · 25 weeks and 3 days ago
This command is an easy alias for opening a manpage. This one is nicely HTML formatted in your set internet browser. You can learn best cbd prices online so many such commands from here and I am looking here for more updates on that. Keep sharing more details over here.
Alyssalauren · 2 weeks and 2 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?

commandlinefu.com 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.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

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: