[PLUG] Saving terminal commands

David Fleck david.fleck at mchsi.com
Thu Feb 5 13:08:17 UTC 2009


On Wed, 4 Feb 2009, John Jason Jordan wrote:
> Is there a way to make it just give me the command but not run it?

Yes. aliases will do that.  For example,

alias gh='history | grep'

allows me to type

   gh foo

and any of my past commands containing 'foo' will be listed. NOT executed, 
listed.


--
David Fleck
david.fleck at mchsi.com




More information about the PLUG mailing list