how to search within manpages?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers how to search within manpages?
# 1  
Old 10-29-2003
how to search within manpages?

well, the subject tells everything.
i don't want to search for something in any manpage, but for a word in a specific manpage.
# 2  
Old 10-29-2003
........

when you open a manpage you can search for strings with :
/string

if you don't know the correct manpage you could frisk you man-directories:
example on my sol9:

root@pressy.ips.at # echo $MANPATH
/opt/scw/man:/opt/scw/man:/opt/CTEact/man:/opt/SUNWexplo/man:/opt/SUNWvts/man::/usr/man:/usr/share/man
root@pressy.ips.at # cd /opt/scw/man/
root@pressy.ips.at # fgrep string */*

in this way you won't get a very usefull output...

greetings Preßy
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. What is on Your Mind?

YouTube: Search Engine Optimization | How To Fix Soft 404 Errors and A.I. Tales from Google Search

Getting a bit more comfortable making quick YT videos in 4K, here is: Search Engine Optimization | How To Fix Soft 404 Errors and A.I. Tales from Google Search Console https://youtu.be/I6b9T2qcqFo (0 Replies)
Discussion started by: Neo
0 Replies

2. UNIX for Beginners Questions & Answers

How to use a grep search to search for a specific string within multiple directories?

Lets say I have a massive directory which is filled with other directories all filled with different c++ scripts and I want a listing of all the scripts that contain the string: "this string". Is there a way to use a grep search for that? I tried: grep -lr "this string" * but I do not... (3 Replies)
Discussion started by: Circuits
3 Replies

3. What is on Your Mind?

Search Results (Search, New, and Today's Topics) Animation Switch

Hey, I added an animation switch on the search results page; so by default the thread previews are off, but if you want to look at them, just click on the green button and the thread previews will turn on (and back off). See image and attached animation: ... (1 Reply)
Discussion started by: Neo
1 Replies

4. Shell Programming and Scripting

Search pattern on logfile and search for day/dates and skip duplicate lines if any

Hi, I've written a script to search for an Oracle ORA- error on a log file, print that line and the .trc file associated with it as well as the dateline of when I assumed the error occured. In most it is the first dateline previous to the error. Unfortunately, this is not a fool proof script.... (2 Replies)
Discussion started by: newbie_01
2 Replies

5. Shell Programming and Scripting

Perl - start search by using search button or by pressing the enter key

#Build label and text box $main->Label( -text => "Input string below:" )->pack(); $main->Entry( -textvariable => \$text456 )->pack(); $main->Button( -text => "Search", -command => sub { errchk ($text456) ... (4 Replies)
Discussion started by: popeye
4 Replies

6. Shell Programming and Scripting

Perl - use search keywords from array and search a file and print 3rd field when matched

Hi , I have been trying to write a perl script to do this job. But i am not able to achieve the desired result. Below is my code. my $current_value=12345; my @users=("bob","ben","tom","harry"); open DBLIST,"<","/var/tmp/DBinfo"; my @input = <DBLIST>; foreach (@users) { my... (11 Replies)
Discussion started by: chidori
11 Replies

7. Forum Support Area for Unregistered Users & Account Problems

Manpages link

This link does not connect to anything. (1 Reply)
Discussion started by: Unregistered
1 Replies

8. UNIX for Dummies Questions & Answers

Acessing manpages

How do I access the actual manpage document? nroff manpage.x ? DAve (1 Reply)
Discussion started by: nucca
1 Replies
Login or Register to Ask a Question