Monday 14, Apr 2025
We are moved to new domain
Click -> www.ehowtonow.com
Monday, 21 August 2017

man Linux Command

man


man [options] [section] [title]

Display information from the online reference manuals. man locates and prints the named title from the designated reference section.

Traditionally, manpages are divided into nine sections, where section 1 consists of user commands, section 2 contains system calls, and so forth. By default, all sections are consulted, so the section option serves to bypass the most common entry and find an entry of the same name in a different section (e.g., man 2 nice).

Numerous other utilities—such as info, xman, and the Konqueror browser—can also display manpages.

Options


-7, --ascii
Expect a pure ASCII file, and format it for a 7-bit terminal or terminal emulator.

-a, --all
Show all pages matching title.

-b
Leave blank lines in output.

-d, --debug
Display debugging information. Suppress actual printing of manual pages.

-f, --whatis
Same as whatis command.

-k, --apropos
Same as apropos command.

-l filename, --local-file=filename
Search local files, not system files, for manual pages. If i is given as filename, search standard input.

-m systems, --systems=systems
Search systems' manual pages. systems should be a comma-separated list.

-p preprocessors, --preprocessor=preprocessors
Preprocess manual pages with preprocessors before turning them over to nroff, troff, or groff. Always runs soelim first to read in files to be included in the one currently being processed. preprocessors can be any combination of e for equations, p for pictures, t for tables, and r for bibliographical references.

-r prompt, --prompt=prompt
Set prompt if less is used as pager.

-t, --troff
Format the manual page with /usr/bin/groff -Tgv -mandoc. Implied by -T and -Z.

-u, --update
Perform a consistency check between manual page cache and filesystem.

-w, -W, --path, --where
Print pathnames of entries on standard output.

-D
Display debugging information about how the page was retrieved.

-K directory
A kind of super-k option. Search for a term in all manpages and display the name of each page, along with a prompt asking whether you want to view the page.

-L locale, --locale=locale
Assume current locale to be locale; do not consult the setlocale( ) function.

-M path, --manpath=path
Search for manual pages in path. Ignore -m option.

-Ppager, --pager=pager
Select paging program pager to display the entry.

-S sections
Sections to look in for an entry. Like specifying section on the command line, except that multiple section numbers can be specified, separated by colons.

-T device, --troff-device[=device]
Format groff or troff output for device, such as dvi, latin1, X75, and X100.

-Z, --ditroff
Do not allow postprocessing of manual page after groff has finished formatting it.

Section names


Manual pages are divided into sections for various audiences:

1
Executable programs or shell commands.

2
System calls (functions provided by the kernel).

3
Library calls (functions within system libraries).

4
Special files (usually found in /dev).

5
File formats and conventions (e.g., /etc/passwd).

6
Games.

7
Macro packages and conventions.

8
System administration commands (usually only for a privileged user).

9
Kernel routines (nonstandard).

Shop and help us

Flipkart Offer Snapdeal offer Amazon.in offer Amazon.com offer

Related Posts:

  • sdiff Linux Command sdiff sdiff -o outfile [options] from to Find differences between the two files from and to and merge interactively, writing the results to outfile. Options -- Treat remaining options as filenames, even if they begin wit… Read More
  • echo - Linux Command echo echo [options] [string] Send (echo) the input string to standard output. This is the /bin/echo command. echo also exists as a command built into bash. The following character sequences have special meanings: \a Aler… Read More
  • route - Linux Command route route [options] [command] TCP/IP command. Add or remove entries in the routing tables maintained by routed. route accepts two commands: add, to add a route, and del, to delete a route. The two commands have the follo… Read More
  • autoupdate Linux Command autoupdate autoupdate [options] [file] GNU autoconf tool. Update the configure template file file, or configure.ac if no file is specified. This command is seldom invoked manually. It is usually called automatically from o… Read More
  • ping - Linux Command ping ping [options] host System administration command. Confirm that a remote host is online and responding. ping is intended for use in network testing, measurement, and management. Because of the load it can impose on th… Read More
  • Blogger Comments
  • Facebook Comments
  • Disqus Comments

0 comments:

Post a Comment

Item Reviewed: man Linux Command Rating: 5 Reviewed By: eHowToNow