[Gllug] Grepping tab-completions
Russell Howe
rhowe at siksai.co.uk
Mon Jun 13 09:41:44 UTC 2005
On Mon, Jun 13, 2005 at 10:25:00AM +0100, Tom Schutzer-Weissmann wrote:
> Hi
>
> I'm trying to remember the command that will let me use KDE io-slaves
> from bash, and I think it starts with 'k' and contains 'exec'. So what
> I'd like to do is pipe the names of all the commands available on my
> path that begin with 'k' through grep, but haven't a clue how.
>
> What's an easy way to search the path like this?
Under bash:
$ find ${PATH//:/ } -maxdepth 1 -type f -name 'k*exec'
--
Russell Howe | Why be just another cog in the machine,
rhowe at siksai.co.uk | when you can be the spanner in the works?
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list