[clue-tech] question on commands

Jed S. Baer thag at frii.com
Thu Mar 10 00:30:22 MST 2005


On Wed, 9 Mar 2005 19:30:18 -0700
Jeff Cann wrote:

> When I want to find a file and then immediately vi it it:
> 
> $ find . -name application.properties
> ./WEB-INF/classes/application.properties
> 
> $ vi ./WEB-INF/classes/application.properties
> 
> Is there a way to do this in a single command ?

$ find -name filename -exec vi {} \;

-- 
http://s88369986.onlinehome.us/freedomsight/
Key fingerprint = B027 FEFB 4281 CC72 67D1  4237 F2D0 D356 077A A30E
... it is poor civic hygiene to install technologies that could someday
facilitate a police state. -- Bruce Schneier



More information about the clue-tech mailing list