Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

apropos | 7 comments | Create New Account
Click here to return to the 'apropos' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Authored by: zerologic on Apr 12, '02 09:46:47AM

in the terminal, type: apropos memory

You'll get the same list for everything appropriate. :)

[ Reply to This | # ]
Authored by: robg on Apr 12, '02 10:54:52AM

apropos is the same as 'man -k', if I'm not mistaken -- the output is identical from both commands for any given keyword. Regardless of which version of the command is used, I still prefer to add the "grep" on the end to restrict the answers to programs which I can run, as opposed to all commands which contain the keyword.


[ Reply to This | # ]
Authored by: Doc_Gyneco on Apr 13, '02 02:08:56PM
Tks. This is a great tip for those of us who want to learn Unix the casual way. Being the lazy type, I dropped the following in my aliases.mine:
alias whatisit 'man -k !* | grep
Now I simply type in terminal %whatisit memory and tada!

[ Reply to This | # ]
Re: Clones...
Authored by: ldeck on Apr 14, '02 08:48:12PM

Hi there,

that doesn't work.

Your missing a closing quotation - and grep hasn't been given any conditions.

alias whatever 'man -k -' gives the result of typing man -k searchstring at the prompt.

alias whatever 'man -k - | grep' gives the same result as above - no conditions for grep...

alias whatever 'man -k - | grep /(1' says that there are too many ('s


[ Reply to This | # ]
Re: Clones...
Authored by: ldeck on Apr 14, '02 09:04:08PM

Hehe - had the slash the wrong way....

alias manf 'man -k !* | grep (1' does the trick.

[ Reply to This | # ]
Authored by: Doc_Gyneco on Apr 15, '02 11:12:43PM
Sorry I missed the end of the code at the end of my post (gobbled by my html tags):
alias whatisit 'man -k !* | grep (1'
Hope nobody scratched his head too long on that one, sorry!

[ Reply to This | # ]