[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Pipping the output of bash completion; command line navigation



Stefan Waidele jun. wrote:

Josh Rehman wrote:

Hi,

I was wondering if it is possible to grep through the output of bash command line completion. If you type "k" and then tab twice, you'll be asked to show all 398,499 entries on your path, y or n. Hit y and a big list comes up. Seems like it would be nice to search through that list, but there is no obvious way to pipe it to anything (like grep).


'script' lets you log complete sessions to a file.


That's cool. It's kind of like a simple version of expect. Thanks.



Reply to: