Linux Platform

man

Consulter les pages de manuel

aidedocumentationmanuelréférence

Syntaxe

man [OPTIONS] [SECTION] COMMANDE

Options principales

OptionDescription
-kRechercher un mot-clé dans les descriptions
-fAfficher une description courte de la commande
-aAfficher toutes les pages correspondantes
-wAfficher le chemin du fichier de manuel

Exemples

Consulter le manuel d'une commande

$ man ls
LS(1)                    User Commands                    LS(1)
 
NAME
       ls - list directory contents
 
SYNOPSIS
       ls [OPTION]... [FILE]...
 
DESCRIPTION
       List information about the FILEs (the current directory by default).

Rechercher un mot-clé dans les manuels

$ man -k password
chpasswd (8)         - update passwords in batch mode
passwd (1)           - change user password
passwd (5)           - the password file
openssl-passwd (1)   - compute password hashes

Afficher le chemin du fichier de manuel

$ man -w grep
/usr/share/man/man1/grep.1.gz