• 2007-05-30

    用“关键字”查找命令 - [LBE]

    版权声明:转载时请以超链接形式标明文章原始出处和作者信息及本声明
    http://gosman.blogbus.com/logs/5581892.html

    原文:searching commands to use with “keyword”
    作者:mysurface
    译者:gosman(lianmingchang2008#gmail.com)
    来自:http://gosman.blogbus.com
    版本:V 1.0.0
    时间:2007-5-30

    有时候你并不知道应该使用什么命令,或不确定命令是否存在。也许可以用 man 一个个尝试,但更好的方法是使用 apropos 命令。

    apropos translate

    输出:

    ctangle (1) - translate CWEB to C and/or TeX
    cweave (1) - translate CWEB to C and/or TeX
    cweb (1) - translate CWEB to C and/or TeX
    dcgettext (3) - translate message
    dcngettext (3) - translate message and choose plural form
    dgettext (3) - translate message
    dmp (1) - translate Troff output to low-level MetaPost input
    dngettext (3) - translate message and choose plural form
    dvitype (1) - translate a dvi file for humans
    editcap (1) - Edit and/or translate the format of capture files
    find2perl (1) - translate find command lines to Perl code
    gettext (1) - translate message
    gettext (3) - translate message
    gftype (1) - translate a generic font file for humans to read
    makeinfo (1) - translate Texinfo documents
    mft (1) - translate Metafont code to TeX code for prettyprinting
    mk_modmap (8) - translate a Linux keytable file into an xmodmap file
    ngettext (1) - translate message and choose plural form
    ngettext (3) - translate message and choose plural form
    objcopy (1) - copy and translate object files
    odvitype (1) - translate a dvi file for humans
    otangle (1) - translate WEB to Pascal
    pktype (1) - verify and translate a packed font bitmap file to plain text

    括号里的数字表示手册页的命令类型,比如查看 ngettext (3) 的手册页:

    man 3 ngettext


    收藏到:Del.icio.us