Re: Shell confusion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2009-03-13 at 15:41 +0000, Bryn M. Reeves wrote:
> On Fri, 2009-03-13 at 15:09 +0000, Dave Bolt IT Solutions wrote:
> > Thanks for the explanation of the use of - in the su command.
> > I checked the man pages for su, (why did you put su(1)), and found the 
> 
> Because the man pages have traditionally been organised into several
> sections. The number in parentheses indicates the section of the manual
> that the page is in (this is important since for e.g. there are library
> calls that have the same name as commands, e.g. /usr/bin/printf is
> documented in printf(1) but the printf call in the stdio library is
> documented in printf(3)).
> 
> The conventional man sections are:
> 
>        1      User Commands
> 
>        2      System Calls
> 
>        3      C Library Functions
> 
>        4      Devices and Special Files
> 
>        5      File Formats and Conventions
> 
>        6      Games et. Al.
> 
>        7      Miscellanea
> 
>        8      System Administration tools and Deamons
> 
> See "man man" for more information.

Doh. Forgot to mention that to select a section you just put the number
as the first argument to man. E.g:

$ man 1 printf -> /usr/bin/printf's man page
$ man 3 printf -> printf() call in stdio.h's man page

Bryn.


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux