Hi

I have the following script:
-----------------------------
#!/bin/bash
echo $PWD
-----------------------------
and I try to run it with 

env PWD=/bin script

but it always prints the correct working directory instead of "/bin".
Why?

Thanks

Alec

Reply via email to