[clue-tech] question on commands

Jim Ockers ockers at ockers.net
Wed Mar 9 22:37:08 MST 2005


> 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 file | xargs vi

For some reason that borks my terminal after I close vi, YMMV.

-- 
Jim Ockers, P.Eng. (ockers at ockers.net)
Contact info: please see http://www.ockers.net/



More information about the clue-tech mailing list