i cant seem to change the direct back to the home directory?


for example ill do the following:
chdir $datadir;
chdir $username;


and after that i dont know how to go back as if i never went there??


Thanks
Goran