[Gllug] Grepping tab-completions

Benedikt Heinen gllug at ml.icemark.net
Mon Jun 13 09:31:54 UTC 2005


> 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?

You mean - something like this?


 	find ` echo $PATH | tr : ' ' ` -maxdepth 1 -type f -name "k*exec*"




   Benedikt

--
                     Gaudeo te illud de me rogavisse.
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list