Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Man page
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Command usage== To read a manual page for a Unix command, a user can type: <syntaxhighlight lang="bash"> man <command_name> </syntaxhighlight> Pages are traditionally referred to using the notation "name(section)": for example, {{man|1|ftp|FreeBSD||inline}}. The section refers to different ways the topic might be referenced - for example, as a system call, or a shell (command line) command or package, or a package's configuration file, or as a coding construct / header. The same page name may appear in more than one section of the manual, such as when the names of [[system call]]s, user [[Command (computing)|command]]s, or [[Troff macro|macro packages]] coincide. Examples are {{man|1|man|ManKier||inline}} and {{man|7|man|ManKier||inline}}, or {{man|2|exit|Linux||inline}} and {{man|3|exit|Linux||inline}}. The syntax for accessing the non-default manual section varies between different man implementations. On Solaris and illumos, for example, the syntax for reading {{man|3c|printf|Solaris||inline}} is: <syntaxhighlight lang="bash"> man -s 3c printf </syntaxhighlight> On Linux and BSD derivatives the same invocation would be: <syntaxhighlight lang="bash"> man 3 printf </syntaxhighlight> which searches for ''[[printf]]'' in section 3 of the man pages. The actual file name likely includes the section. Continuing this example, printf.3.gz would be a compressed manual page file in section 3 for ''[[printf]]''.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)