Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

apropos(1) [osf1 man page]

apropos(1)						      General Commands Manual							apropos(1)

apropos - Locates reference pages by keyword SYNOPSIS
apropos keyword... The apropos command shows which reference pages contain instances of any of the given keywords in their purpose lines. OPTIONS
Specifies the word(s) for which apropos should search. DESCRIPTION
In looking for keywords, apropos considers each word separately and ignores the case of letters. Words that are part of other words are also considered; thus, when looking for the word compile, apropos will also find all instances of compiler. If the output of the apropos command begins with a name and reference section number, you can enter man section name. For example, if the output of the apropos command is make(1u), you can enter man 1u make to obtain the reference page on System V version of the make command. The apropos command works just like the man command with the -k option. EXAMPLES
To find reference pages with the keyword password in the purpose line, enter: apropos password FILES
Keyword database. SEE ALSO
Commands: man(1), whatis(1), catman(8) apropos(1)

Check Out this Related Man Page

apropos(1)							   User Commands							apropos(1)

apropos - locate commands by keyword lookup SYNOPSIS
apropos keyword... DESCRIPTION
The apropos utility displays the man page name, section number, and a short description for each man page whose NAME line contains keyword. This information is contained in the /usr/share/man/windex database created by catman(1M). If catman(1M) was not run, or was run with the -n option, apropos fails. Each word is considered separately and the case of letters is ignored. Words which are part of other words are considered; for example, when looking for `compile', apropos finds all instances of `compiler' also. apropos is actually just the -k option to the man(1) command. EXAMPLES
Example 1 To find a man page whose NAME line contains a keyword Try example% apropos password and example% apropos editor If the line starts `filename(section) ...' you can run man -s section filename to display the man page for filename. Example 2 To find the man page for the subroutine printf() Try example% apropos format and then example% man -s 3s printf to get the manual page on the subroutine printf(). FILES
/usr/share/man/windex table of contents and keyword database ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWdoc | +-----------------------------+-----------------------------+ |CSI |Enabled | +-----------------------------+-----------------------------+ SEE ALSO
man(1), whatis(1), catman(1M), attributes(5) DIAGNOSTICS
/usr/share/man/windex: No such file or directory This database does not exist. catman(1M) must be run to create it. SunOS 5.11 20 Dec 1996 apropos(1)

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

I changed PS1 and now ....

Hello I am using Debain Potato and I changed the PS1. When I log in locally everythink is fine, except that when I enter a long row without hitting enter, then it word wraps automatically. And it does it not at the end of the row, it does it in the middle of the row! It also does not writes... (7 Replies)
Discussion started by: Fwurm
7 Replies

2. UNIX for Dummies Questions & Answers

Substitute Command in vi

How do I substitute a word throughout a file? For example change all instances of the word John to Mark. This would be in vi for korn shell. (10 Replies)
Discussion started by: lesstjm
10 Replies

3. Shell Programming and Scripting

Replace One String With Another String

i have a file call text and i what the user to enter any word he/she wants to replace with any word i current have cat text echo "Please enter the word to be amended:" read old echo "Please enter a new word:" read new sed "s/$old/$new/g" $1 > text echo "press ENTER to continue"... (14 Replies)
Discussion started by: bhaviknp
14 Replies

4. UNIX for Dummies Questions & Answers

How to find a word in a all the files in a Directory??

I want to find a specific word present in all the files ina directory....Please tell me the command to be used?? Thanks (6 Replies)
Discussion started by: shikhakaul
6 Replies

5. Shell Programming and Scripting

To find a word in a file and delete the file

Hi, I need to find a word in a file, and I need to delete the file where the word resides on the file. I did try with the grep -H "word" using the find command, but no luck. (6 Replies)
Discussion started by: gsiva
6 Replies

6. UNIX for Dummies Questions & Answers

How to find function name based on word search

Hi All, I want to find out function name based on word. Here i ll give u one example I have several files based on below format. file will start and ends with same name only EX: file1.txt public function calculate1() { ---- ---- call Global Function1() ---- ---- } END... (9 Replies)
Discussion started by: spc432
9 Replies

7. UNIX for Dummies Questions & Answers

Changing Man page output

I've been asked to come up with a command to display a man page that will continuously scrol (i.e. not hitting space/enter)l. Is there a way do this? I'm stumped. Thank you for your help. (8 Replies)
Discussion started by: Opy99
8 Replies

8. Shell Programming and Scripting

Need some help deleting words from a line which are not my "Keyword"

Hi, i'm currently new to scripting and need some help with my problem, so i'll jump right to it. I have a file containing text, the file is pretty big so for the sake of this i'll just say this is the text: John id number is abc34938 Grahams id number is pending id number abc64334 is Bob's ... (14 Replies)
Discussion started by: linuxkid
14 Replies

9. UNIX for Dummies Questions & Answers

how to find a word in a file that appears next to a given keyword

Hi Experts, I have a file which contains some text. i need to print the word next to a given keyword. Please help. Ex: test.txt ===================== NEXT HOST ===================== AEADBAS001 access-list 1 permit xxxxxxxxxxxxxx ip access-list extended BLA_Outgoing_Filter... (6 Replies)
Discussion started by: mwrg
6 Replies

10. Shell Programming and Scripting

How can i use sed to replace a keyword in an xml file?

Hello Unix gurus! I'm a unix newbie. Can I use sed to replace a keyword in an xml file and convert this keyword with an output of a unix cat command? for example: <test>keyword</test> and temp.txt = hello! I would like to replace "keyword" with the output of "cat temp.txt". I think... (6 Replies)
Discussion started by: 4dirk1
6 Replies

11. Shell Programming and Scripting

How to get the next word which falls just after a keyword?

Hi friends, i just want to know the command though which i can get the next word which comes just after a particluar keyword. For example: suppose text.out is file which contains a pl/sql procedure . i want to find out the word which falls just after the "table1" keyword. Thank... (7 Replies)
Discussion started by: neelmani
7 Replies

12. Shell Programming and Scripting

How to catch a two word keyword which may contain a new line(may include spaces or tab) in it?

How to catch a two word keyword which may contain a new line(may include spaces or tab) in it. for example there is a file a.txt. $more a.txt create view as (select from ......... .......... ( select .... ( select ...... .. select only no ((( number ( select end (12 Replies)
Discussion started by: neelmani
12 Replies

13. AIX

AIX: How to find down who enter a command?

Hi I'm working on AIX. My question: for example, I'm logging in. I enter command "last" and then I know there are 3 people logging in from 3 different IP at the same time, 2 are in the same account. Then someone enters a command. Is there any way to know exactly who ( which IP ) enters... (9 Replies)
Discussion started by: bobochacha29
9 Replies

14. What is on Your Mind?

Things i Hate (Or: Rants by an Old Man)

I am an old man and i find modern times not so much confusing but outright - to use the correct word - "smart". Frankly, many things looked better back then - but especially the future. So today, instead of taking my medication, i will take a more "wholesome" approach and vent off some steam by... (18 Replies)
Discussion started by: bakunin
18 Replies

15. UNIX for Beginners Questions & Answers

Where can I find the program that runs the -wc command?

Hey guys, I was wondering. When I enter a command in the terminal -wcl for a word count, where is that program located in the kernel? (7 Replies)
Discussion started by: Circuits
7 Replies

Featured Tech Videos