man Flashcards

1
Q

man

A

man is the system’s manual pager.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Section Numbers Of The Manual

1

2

3

4

5

6

7

8

9

A

1 Executable programs or shell commands

2 System calls (functions provided by the kernel)

3 Library calls (functions within program libraries)

4 Special files (usually found in /dev)

5 File formats and conventions eg /etc/passwd

6 Games

7 Miscellaneous (including macro packages and conventions)

8 System administration commands (usually only for root)

9 Kernel routines [Non standard]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

man

  • f
  • k
  • K
A
  • f, –whatis, Equivalent to whatis. Dispay a short description from man page if available.
  • k, –apropos, Equivalent to apropos. Search the short manual page descriptions for keywords and display matches.
  • K, –global-apropos, Search for text in all manual pages. This is a brute-force search and will take time.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

man

  • w
  • W
A
  • w, –where, –path, –location, Don’t display the manual pages, but print the locations of the source nroff files that would be formatted.
  • W, –where-cat, –location-cat, Don’t display the manual pages, but print the locations of the cat files that would be displayed.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

man

  • S
  • i
  • I
  • a
A
  • S list, -s list, –sections=list, List is a colon or comma-separated list of ‘order specific’ manual sections to search.
  • i, –ignore-case, Ignore case when searching for manual pages. This is the default.
  • I, –match-case, Search for manual pages case-sensitively.
  • a, –all, By default, man will exit after displaying the most suitale manual page it finds. With this option it forces man to display all the manual pages with names that match the search.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

man ls

Displays the manual page for ls.

man man.7

Displays the manual page for macro page man from section 7.

man -a intro

Displays in succession, all of the available intro man pages.

A

man -k printf

Search the short descriptions and manual page names for the keyword printf and print any matches.

man -f smail

Lookup the manual pages references by smail and print out the short descriptions of any found.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly