FreeTstar

loving Freedom + + loving Linux

  • 首页
  • Archive
  • 关于
  • 杂七杂八
  • 留言板
Twitter Sina RSS

将man手册转成pdf文件

发布于 2010年09月13日 由 freetstar
27 条评论发表评论

manpage,linux users和developers的瑞士军刀阿

今天在Happyaron大哥的blog上看到了一篇将man手册转换成pdf格式文件的日志,方法与大家共享

命令

man -t bash |ps2pdf - bash.pdf

解释:

man -t   将man手册转换成groff格式,输出到标准输出

ps2pdf -bash.pdf  将标准输入的文件转换成bash.pdf文件

用管道链接两个命令。一切就是这么简单

再举例,如果您想将man本身输出成pdf格式文件

man -t man|ps2pdf - man.pdf

 

参考:http://blogs.gnome.org/happyaron/2010/09/13/convert-man-page-to-pdf/

分类:问题解决
我人生中的第一次面试就这么糊里糊涂得“成功”了
Fedora 13 历险记

27 则回应给 “将man手册转成pdf文件”

  1. Mucid CHINA Google Chrome Windows 说道:
    2010年09月18日 3:05 下午

    嘿嘿,sogou浏览器,小翻一下真不错呢!
    来大哥这里不用开XX门啦!

    [回复]

    freetstar CHINA Google Chrome Linux 回复:
    九月 18th, 2010 at 8:23 下午

    不用就好,哈哈

    [回复]

  2. Code之行人 CHINA Mozilla Firefox Windows 说道:
    2010年09月16日 3:19 下午

    heh呵呵 很多人都说这个很强大啊 8-O

    [回复]

    freetstar CHINA Google Chrome Linux 回复:
    九月 16th, 2010 at 8:44 下午

    确实很强大,,,

    [回复]

  3. su CHINA Mozilla Firefox Windows 说道:
    2010年09月16日 3:18 下午

    呵呵 弱弱的问 这个事什么啊 不懂啊

    [回复]

  4. 睿智小超人 Google Chrome Windows 说道:
    2010年09月15日 8:05 下午

    我连man手册是什么都不知道

    [回复]

  5. 乌帮图 CHINA Mozilla Firefox Windows 说道:
    2010年09月15日 7:26 下午

    这个相当有用。

    [回复]

    freetstar CHINA Internet Explorer Windows 回复:
    九月 16th, 2010 at 2:21 下午

    ( ⊙ o ⊙ )是的

    [回复]

  6. ptubuntu CHINA Google Chrome Linux 说道:
    2010年09月15日 3:38 下午

    很强很强大……

    [回复]

    freetstar CHINA Google Chrome Linux 回复:
    九月 15th, 2010 at 7:08 下午

    嘿嘿,是的

    [回复]

  7. delectate CHINA Mozilla Firefox Linux 说道:
    2010年09月14日 10:58 下午

    强力mark。
    man man结果:
    man -t alias | lpr -Pps
    Format the manual page referenced by `alias’, usually a shell man‐
    ual page, into the default troff or groff format and pipe it to the
    printer named ps. The default output for groff is usually Post‐
    Script. man –help should advise as to which processor is bound to
    the -t option.

    [回复]

    freetstar CHINA Google Chrome Linux 回复:
    九月 15th, 2010 at 7:08 下午

    基本上就是man里说的喽

    [回复]

  8. banban CHINA Mozilla Firefox Windows 说道:
    2010年09月14日 9:50 下午

    你说小容头啊
    他可不是大哥
    他是个小家伙
    小毛孩
    娃哈哈 :twisted: :twisted: :twisted:

    [回复]

    freetstar CHINA Google Chrome Linux 回复:
    九月 15th, 2010 at 7:10 下午

    小容头?!感觉他比较强大阿

    [回复]

    banban CHINA Mozilla Firefox Windows 回复:
    九月 16th, 2010 at 4:52 下午

    恩恩 还好还好啦 小家伙一头

    [回复]

    freetstar CHINA Google Chrome Linux 回复:
    九月 16th, 2010 at 6:45 下午

    酱紫,膜拜下他

    [回复]

    banban CHINA Mozilla Firefox Windows 回复:
    九月 17th, 2010 at 9:54 下午

    哎 不要被他的外表所蒙蔽了。。。。。 :wink:

    [回复]

    freetstar CHINA Google Chrome Linux 回复:
    九月 17th, 2010 at 11:29 下午

    哦哦,了解了,谨记

    [回复]

  9. 奶牛 CHINA Mozilla Firefox Windows 说道:
    2010年09月14日 8:00 下午

    还蛮实用滴说 :mrgreen:

    [回复]

    freetstar CHINA Google Chrome Linux 回复:
    九月 14th, 2010 at 9:32 下午

    嘿嘿,确实是的

    [回复]

  10. timberland uk CHINA Mozilla Firefox Windows 说道:
    2010年09月14日 9:34 上午

    恩 很有用 学习!

    [回复]

  11. ubuntusoft CHINA Google Chrome Linux 说道:
    2010年09月13日 10:20 下午

    这个好 :!:

    [回复]

    freetstar CHINA Google Chrome Linux 回复:
    九月 13th, 2010 at 10:28 下午

    我觉得也是,很强大

    [回复]

    ubuntusoft CHINA Google Chrome Linux 回复:
    九月 13th, 2010 at 10:31 下午

    你是用什么SSH客户端的?
    论坛还不稳定,经常挂。。猥琐

    [回复]

    freetstar CHINA Google Chrome Linux 回复:
    九月 13th, 2010 at 10:34 下午

    ssh?没听懂。。。
    命令行直接ssh阿?你是说openssh嘛?

    我好像是论坛第一个注册的,娃哈哈 :roll:

    [回复]

    ubuntusoft CHINA Google Chrome Linux 回复:
    九月 13th, 2010 at 10:37 下午

    不是吧。- -你的用户名是?

    [回复]

    freetstar CHINA Google Chrome Linux 回复:
    九月 13th, 2010 at 10:39 下午

    等等。。我还明白。上gtalk

    [回复]

发表评论 取消回复

电子邮件地址不会被公开。 必填项已用 * 标注

*

*


疑问 开心 悲伤 邪恶 惊叹 微笑 脸红 笑 惊讶 惊奇 迷惑 酷 憨笑 生气 阴险 转眼球 眨眼 主意 箭头 中立 哭 大笑

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture.
Anti-spam image

点击取消回复
第 1 页,共 1 页1
  • 欢迎订阅

  • Github

  • 近期评论

    • freetstar CHINA Mozilla Firefox Linux 发表在《留言板》
    • _Fly CHINA Google Chrome Linux 发表在《使用e4rat加速你的linux启动速度(ext4文件系统专用)》
    • walfred Mozilla Firefox Windows 发表在《留言板》
    • freetstar CHINA Mozilla Firefox Windows 发表在《用landslide创建html5 slide》
  • Spread Firefox Affiliate Button
  • 我的豆瓣

  • 链接表

    • 51开源社区
    • Adam's
    • delectate's blog
    • Don's
    • fl
    • ghostunix
    • Jasey Wang
    • Jerry's Blog
    • Moolight@Ericyue
    • OSMSG
    • panda
    • Pity is the Bomp
    • PT ubuntu
    • Tao Zhu
    • ubuntuhome
    • WOW!ubuntu
    • zhangzhfang
    • 丕字的blog
    • 傻东の学习笔记
    • 奶牛的blog
    • 孤风颠影
    • 弯柚博客
    • 熊猫党军委主席
    • 靖 轩
    • 马力哥
    • 黑孩儿
  • 我的支付宝

  • 功能

    • 登录
    • 文章 RSS
    • 评论 RSS
    • WordPress.org
© FreeTstar. WordPress 强力驱动 | Nest Theme by YChong