it works.
3x very much.
On Tue, 2007-11-13 at 21:51 -0700, Bob Proulx wrote:
> 龙海涛 wrote:
> > i want to store the current working dir to a variable, i write
>
> The most common way to save the present working directory to a
> variable would be to use the $(...) form.
>
> test=$(pwd)
> echo $test
>
> Try that.
>
> Bob
>
>