R.A. Epigonos et al.

[linux] linux - manで検索するには-kオプション

manで検索することなんかほとんど無いんだけど、まぁ教科書読んでたら出てきたので、メモっておく。

以下のようにして bash というキーワードを含むエントリを表示できる。

$ man -k passwd
chgpasswd (8)        - update group passwords in batch mode
chpasswd (8)         - update passwords in batch mode
exim4_passwd (5)     - Files in use by the Debian exim4 packages
exim4_passwd_client (5) - Files in use by the Debian exim4 packages
gpasswd (1)          - administer the /etc/group and /etc/gshadow files
mkpasswd (1)         - Overfeatured front end to crypt(3)
mksmbpasswd (8)      - formats a /etc/passwd entry for a smbpasswd file
pam_localuser (8)    - require users to be listed in /etc/passwd
passwd (1)           - change user password
passwd (1ssl)        - compute password hashes
passwd (5)           - the password file
smbpasswd (5)        - The Samba encrypted password file
smbpasswd (8)        - change a user's SMB password
SSL_CTX_set_default_passwd_cb (3ssl) - set passwd callback for encrypted PEM file handling
SSL_CTX_set_default_passwd_cb_userdata (3ssl) - set passwd callback for encrypted PEM file handling
update-passwd (8)    - safely update /etc/passwd, /etc/shadow and /etc/group

ヘルプにも書いてあるけど、これはaproposコマンドの代用。以下と同じ。

$ apropos passwd
chgpasswd (8)        - update group passwords in batch mode
chpasswd (8)         - update passwords in batch mode
exim4_passwd (5)     - Files in use by the Debian exim4 packages
exim4_passwd_client (5) - Files in use by the Debian exim4 packages
gpasswd (1)          - administer the /etc/group and /etc/gshadow files
mkpasswd (1)         - Overfeatured front end to crypt(3)
mksmbpasswd (8)      - formats a /etc/passwd entry for a smbpasswd file
pam_localuser (8)    - require users to be listed in /etc/passwd
passwd (1)           - change user password
passwd (1ssl)        - compute password hashes
passwd (5)           - the password file
smbpasswd (5)        - The Samba encrypted password file
smbpasswd (8)        - change a user's SMB password
SSL_CTX_set_default_passwd_cb (3ssl) - set passwd callback for encrypted PEM file handling
SSL_CTX_set_default_passwd_cb_userdata (3ssl) - set passwd callback for encrypted PEM file handling
update-passwd (8)    - safely update /etc/passwd, /etc/shadow and /etc/group

ヒットしたエントリを表示するには以下。passwdエントリには複数のセクションが含まれるのでpasswdの前にセクション番号を指定して表示。

$ man 1 passwd

リファレンス

  1. Manpage of man
  2. manpage man - Google 検索

ソーシャルブックマーク

  1. はてなブックマーク
  2. Google Bookmarks
  3. del.icio.us

ChangeLog

  1. Posted: 2009-07-11T08:03:09+09:00
  2. Modified: 2009-07-11T08:03:09+09:00
  3. Generated: 2024-11-18T23:09:11+09:00