aproposコマンドで指定したキーワードを含むmanを検索する

今まで知らなかったのだが、『apropos』というコマンドで指定したキーワードを含むマニュアルをmanから検索することができるようだ。
というわけで、早速検索してみよう。

apropos キーワード

 

例えば、「find」というキーワードで検索した場合は以下。

[root@BS-PUB-CENT7-01 ~]# apropos find
BIO_find_type (3ssl) - BIO chain traversal
btrfs-find-root (8)  - filter to find btrfs root
dracut-initqueue.service (8) - runs the dracut main loop to find the real root
FcConfigFilename (3) - Find a config file
File::Find (3pm)     - Traverse a directory tree.
find (1)             - search for files in a directory hierarchy
find-jar (1)         - find extension JAR or directory
find2perl (1)        - translate find command lines to Perl code
FindBin (3pm)        - Locate directory of original perl script
findfs (8)           - find a filesystem by label or UUID
findmnt (8)          - find a filesystem
git-bisect (1)       - Find by binary search the change that introduced a bug
git-cherry (1)       - Find commits not merged upstream
git-merge-base (1)   - Find as good common ancestors as possible for a merge
git-name-rev (1)     - Find symbolic names for given revs
git-pack-redundant (1) - Find redundant pack files
mysql_find_rows (1)  - extract SQL statements from files
oldfind (1)          - search for files in a directory hierarchy
OPENSSL_ia32cap (3ssl) - finding the IA-32 processor capabilities
perlmodlib (1)       - constructing new Perl modules and finding existing ones
pidof (8)            - find the process ID of a running program.
Pod::Simple::Search (3pm) - find POD documents in directory trees
systemd-delta (1)    - Find overridden configuration files
XFindContext (3)     - associative look-up routines
XkbFindOverlayForKey (3) - Find the alternate name by using the primary name for a key that is part of an overlay
XkbGetControls (3)   - Finds the current state of Xkb server controls
XkbKeycodeToKeysym (3) - Finds the keysym bound to a particular key at a specified group and shift level
XkbKeysymToModifiers (3) - Finds the set of modifiers bound to a particular keysym on the core keyboard
XkbLookupKeyBinding (3) - Find the string bound to a key by XRebindKeySym
XkbLookupKeySym (3)  - Find the symbol associated with a key for a particular state
XkbTranslateKeySym (3) - Find the string and symbol associated with a keysym for a given keyboard state

 

オプションで正規表現での検索もできるようだ。今まで知らなかったけど、結構便利そうだ。

 


Written by blacknon

インフラ系のSE。一時期はプログラマ。 仮想化とオープンソースに興味あり。一日中寝てたい今日このごろ。 スペインとかで働きたいなぁ…(シエスタがあるので)

Leave a Comment

メールアドレスが公開されることはありません。

*