Having troubles searching man pages in OmniOS


 
Thread Tools Search this Thread
Operating Systems Solaris Having troubles searching man pages in OmniOS
# 1  
Old 11-14-2018
Having troubles searching man pages in OmniOS

I recently have become curious with Illumos distributions, at the present time, OmniOS. One thing I've come to expect is being able to simply type "man ls" for example to figure out how to use system tools. However, running man on OmniOS has provided nothing, nor does it seem to be available

Code:
~ » which man man: aliased to nocorrect man




However, the above behavior only happens in zsh, where with sh I get an actual path:
Code:
user@omni:~$ which man /usr/bin/man

Is there a different command or something? Every time I try to search for the manual for a command I always get "No manual entry for <command>". I've tried both in zsh and sh using man and man -s to check different sections
# 2  
Old 11-14-2018
On many implementations, the manual pages are an optional package that needs to be loaded to make the man pages available to the man command. Most system administrators are nice enough to load the man pages so everyone can reference the manuals for your system.

From the diagnostics you're getting from man when invoked by sh, it sounds like the man utility is present, but the database of manual pages it searches has not been loaded.
# 3  
Old 11-14-2018
You're right that they're there....I guess I now see that searching man pages is a bit more evil than I realized. I can't simply type "man", I have to go:


Code:
man -M /usr/share/man <command>


That brings up the man pages for what I need. There's also a pkgsrc man option available that I am yet to learn, but this is something that I didn't find to be well spelled out anywhere. An example is neatly tucked away in the "Debugging offline" section of the GeneralAdministration section on the OmniOS website. Nothing else alluding to that.
# 4  
Old 11-14-2018
You can easily fix that issue by setting the MANPATH variable in the configuration file of your shell (.profile, .bash_profile or whatever), something like:

Code:
export MANPATH=/usr/share/man:/opt/omni/share/man:/opt/omni/man

These 3 Users Gave Thanks to jlliagre For This Post:
# 5  
Old 11-15-2018
Thanks you for that info! That makes it much easier than having to specify the path each time
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

Looking for some man pages.

Can anyone supply me with the man pages for: omnidatalist omnibarlist omnisap.exe I prefer the source man pages in nroff format. A clue about the software bundles which supply these man pages is fine as well. OS: HP-UX TIA (11 Replies)
Discussion started by: sb008
11 Replies

2. Solaris

MAN PAGES

Hi everyone, I have a small query, in solaris the man pages get displayed on half of the terminal , can i get a full terminal or full screen display ?:) (2 Replies)
Discussion started by: M.Choudhury
2 Replies

3. Fedora

why do we have .1 extension in MAN PAGES?

Hello sir, I am using FEDORA 9. I wanted to know why do we have ".1" extension in the archives of man pages. I know we are giving format. I want to know the importance or purpose of this format. Can you please tell me :confused: (2 Replies)
Discussion started by: nsharath
2 Replies

4. UNIX for Dummies Questions & Answers

Man pages on Solaris 10

Hi, I want to install man pages package from solaris 10. Solaris 10 has already been installed on my servor but I have to add the man pages packages. I search for a long time on internet this package but I didn't find a compatible one... So I downloaded Solaris 10 from Sun site to get this... (1 Reply)
Discussion started by: MasterapocA
1 Replies

5. Solaris

loading man pages

Hi, I am using solaris. I have to load the some man pages on different node from solaris. I have no basic idea regarding this. can anyone plz give me some basic ideas so that i can proceed. Thanks in advance. (3 Replies)
Discussion started by: ravi rajeev
3 Replies

6. UNIX for Dummies Questions & Answers

man pages

When reading man pages, I notice that sometimes commands are follwed by a number enclosed in parenthesis. such as: mkdir calls the mkdir(2) system call. What exactly does this mean? (4 Replies)
Discussion started by: dangral
4 Replies

7. UNIX for Dummies Questions & Answers

man pages

Hi folks, I want to know all the commands for which man pages are available. How do i get it? Cheers, Nisha (4 Replies)
Discussion started by: Nisha
4 Replies

8. UNIX for Dummies Questions & Answers

Man pages query....

Hello,,, can I use any command in order to be able to see man pages,,, page per page instead for running too fast???:confused: (6 Replies)
Discussion started by: spyros
6 Replies

9. UNIX for Dummies Questions & Answers

man pages

Hi, I've written now a man pages, but I don't knwo how to get 'man' to view them. Where have I to put this files, which directories are allowed?? THX Bensky (3 Replies)
Discussion started by: bensky
3 Replies

10. UNIX for Dummies Questions & Answers

Man pages

Hello , I just installed openssh in my system . I actually tried to man sshd but it says no entry , though there is a man directory in the installation which have the man pages for sshd . Can anyone tell me how should i install these man pages . DP (2 Replies)
Discussion started by: DPAI
2 Replies
Login or Register to Ask a Question