is not changing the dir "/usr/bin" , I reason I suppose is if we execute a command directly using back-ticks(`) it will execute in a new shell.But system() will execute the commands in same shell.Am I right??$pwd=`pwd`; print "\n pwd is $pwd"; `cd /usr/bin`; $pwd=`pwd`; print "\n pwd is $pwd\n";
In reply to Re: How to change path
by narainhere
in thread How to change path
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |