[clue-tech] question on commands

Timothy Klein teece at silverklein.net
Wed Mar 9 22:37:53 MST 2005


On 9 Mar 2005, at 7:30 PM, Jeff Cann wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 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 $path -name $file -exec vi \{} \;

Seems to work.

Tim
--
Timothy Klein: tecce at silverklein.net
Vanity Page: http://tinyurl.com/vkhp
AIM: TangoCKilo; ICQ:289210734
Hello_World.c:  17 Errors, 31 Warnings




More information about the clue-tech mailing list