What is the meaning of man pages, for example. git branch (1)

Duplicate: https://stackoverflow.com/a/212552/

For example, if I type:

man ps

... and then scroll to the end, I see something like this:

SEE ALSO
     kill(1), w(1), kvm(3), strftime(3), sysctl(8)

How should I interpret this? I know killing is another team, but what does (1) mean? Anything with this?

Git riddle man page:

git-add(1), git-am(1), git-archive(1)

What is someone trying to tell me?

+3
source share
5 answers

To access the manual page for a given numbered section, enter man number command

From man man

  • Executable programs or shell commands
  • System calls (kernel-provided functions)
  • Library calls (functions in program libraries)
  • Special files (commonly found in / dev)
  • , , /etc/passwd
  • ( ), . man (7), groff (7)
  • > ( root)
  • []

, ,

man 1 printf

shell printf,

man 3 printf

C.

+7

, . , , .., , , . , .

sleep:

man 1 sleep

man 3 sleep

1 .

+2

man :

  • ,
  • Unix C
  • C C
  • , Unix

, kill(1) , strftime(3) C.

+1

. , 1 2 .

man kill, kill (1), .

man 2 kill, , kill.

crontab (1) crontab (5).

0

, man- . git-branch(1) man- git-branch 1 . ( ):

man 1 git-branch

man -s 1 git-branch

, , , printf(1) printf(3). Typing:

man printf

man- MANPATH. MANPATH :

man -a printf

printf.

0

Source: https://habr.com/ru/post/1704280/


All Articles