command prompter
Chris F.A. Johnson
chris-E7bvbYbpR6jSUeElwK9/Pw at public.gmane.org
Fri Oct 2 19:04:08 UTC 2009
On Fri, 2 Oct 2009, Terrence Enger wrote:
> On Fri, 2009-10-02 at 13:41 -0400, Chris F.A. Johnson wrote:
> > On Fri, 2 Oct 2009, Terrence Enger wrote:
> >
> > > Greetings,
> > >
> > > I am used, working on another platform, to having a tool which relieves
> > > of the need to remember command line parameters ... sort of an entry
> > > panel with brief prompts and hyperlinks to the applicable part of the
> > > man page.
> > >
> > > Is there such a tool for GNU/Linux? Nothing applicable jumped out at me
> > > from the first hundred results of a google search for linux command
> > > prompter.
> > >
> > > If this does not already exist, is there anybody else who thinks maybe
> > > it should? If anybody expresses an interest, I shall put together an
> > > example of what it might do for you.
> >
> > You could do it with bash's completion functions.
> >
>
> Does that know anything about the paramaters needed for particular
> commands.
You would have to program them, just as would have had to be done
for other platform.
> For example, it is not long since I went to `man find` for a
> reminder that I wanted to specify argument -wholename instead of -name,
> the latter being what my fingers unhelpfully remembered.
For a list of operands:
man find | grep '^ *-'
--
Chris F.A. Johnson, webmaster <http://woodbine-gerrard.com>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list