LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   search using description to get command? (https://www.linuxquestions.org/questions/linux-newbie-8/search-using-description-to-get-command-370688/)

Linuxuser_81 10-07-2005 12:45 PM

search using description to get command?
 
Hi

I am new to linux. But I find Linux interesting to work with :)

Is there any command which takes description as command line parameter and gives me all the commands that I can use ?

something like this

============
$ tellme "How to copy files"
cp - copy files and directories
cp [OPTION]... SOURCE DEST
cp [OPTION]... SOURCE... DIRECTORY
cp [OPTION]... --target-directory=DIRECTORY SOURCE...
-a, --archive
same as -dpR

--backup[=CONTROL]
make a backup of each existing destination file

-b like --backup but does not accept an argument

--copy-contents.........................

$tellme "how to search for files"
whereis - locate programs
whereis name [...]
slocate - Security Enhanced version of the GNU Locate
slocate [-qi] [-d <path>] [--database=<path>] <search string>
slocate [-i] [-r <regexp>] [--regexp=<regexp>].................
=========================

I may be wrong in the obove commands and description :) ..

the command must be something that intelligently searches the existing man pages and also is configurable (lets user to add his own commands and notes)..

Please let me know.

--MJ

Charred 10-07-2005 12:59 PM

Try
Code:

apropos description

I recommend the Rute User's Tutorial and Exposition for further reference.


All times are GMT -5. The time now is 09:17 PM.