[UPHPU] changing directories in a script

Richard K Miller richardkmiller at gmail.com
Wed Oct 24 14:29:39 MDT 2007


On Oct 24, 2007, at 1:07 PM, Wade Preston Shearer wrote:

> is it possible to change directories within a script so that the  
> script is running local to somewhere different than where the  
> script resides?

In Bash, I usually use pushd /new/directory at the beginning of the  
script and then popd at the end.




More information about the UPHPU mailing list