- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Getting help in man Page
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2006 07:32 PM
07-26-2006 07:32 PM
Anybody Tell me how to get the help from the MAN
command.
$ man < command name >
---------
-------
---------
Apart from this is their any swith with man command for simply finding the syntax of the command line.
And tell me what is man(1).,man(2).,man(3)
And its Syntax .....
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2006 07:40 PM
07-26-2006 07:40 PM
Re: Getting help in man Page
Try to check $man man
in manual page for man you find answer for all your questions about man.
Regards
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2006 08:00 PM
07-26-2006 08:00 PM
Solutionrefer this page: [#man man]
http://docs.hp.com/en/B2355-60127/man.1.html
[most of the vi commands will work inside a man page with simple changes. or simply thing like more command.]
and read the man page for the command "more"
#man more
http://docs.hp.com/en/B2355-60127/more.1.html
most of the options u can use inside a man page.
for example:
to search for a string "SEE ALSO"
u need to do /SEE ALSO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2006 08:16 PM
07-26-2006 08:16 PM
Re: Getting help in man Page
You can easily do it by,
First install/create 'whatis' library by # catman -m
once it is done, search by # man -k
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2006 08:56 PM
07-26-2006 08:56 PM
Re: Getting help in man Page
Tell me what is the different between.
Man(1)
Man(2)
Man(5)
How can we look for the following man pages:-
#man(1) cat
#man(2) cat
#man(5) cat
By default Whcich one man command will look for..
.................
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2006 09:07 PM
07-26-2006 09:07 PM
Re: Getting help in man Page
/* tell me what is man(1).,man(2).,man(3)
And its Syntax ..... */
http://docs.hp.com/en/B2355-60127/pr01.html
The manpages are divided into sections that also have introduction, or intro, manpages that describe the contents. These are:
intro(1) Part I, â Section 1: User Commandsâ
intro(1M) Part II, â Section 1M: System Administration Commandsâ
intro(2) Part III, â Section 2: System Callsâ
intro(3C) Part IV, â Section 3: Library Functionsâ
intro(4) Part V, â Section 4: File Formatsâ
intro(5) Part VI, â Section 5: Miscellaneous Topicsâ
intro(7) Part VII, â Section 7: Device (Special) Filesâ
intro(9) Part VIII, â Section 9: General Informationâ
to understand this, take this example:
======================================
#man -k passwd
man -k passwd
passwd_export ("1m") - Creates local password and group files
passwd_import ("1m") - Creates registry database entries based on information in UNIX group and password files
passwd_override ("5") - The registry database override file
dialups, d_passwd(4) - dialup security control
lckpwdf(), ulckpwdf()(3C) - control access to /etc/passwd file
nispasswd(1) - change NIS+ password information
passwd(1) - change login password and associated attributes
passwd(4) - password file, pwd.h
rpc.nispasswdd, nispasswdd(1M) - NIS+ password update daemon
yppasswd( )(3N) - update user password in Network Information Service
yppasswd(1) - change login password in Network Information System (NIS)
yppasswdd(1M) - daemon for modifying Network Information Service passwd database
======================================
note that:
passwd(1) - change login password and associated attributes
passwd(4) - password file, pwd.h
so to refer the man page for the command passwd---> man 1 passwd
to refer the passwd file /etc/passwd
----> man 4 passwd
if u give simply "man passwd" passwd(1) u will get by default.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2006 11:33 PM
07-26-2006 11:33 PM
Re: Getting help in man Page
i have to correct Arun: creating the really valuable whatis database is done via
catman -w
See 'man catman' ;-)
NB:
- run with full MANPATH setup
- run as root
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2006 04:36 AM
07-28-2006 04:36 AM
Re: Getting help in man Page
Never open them, tho, but they look neat on the bookshelf!
ME