[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

bash ?



hi all

I had a bash script and it have the line
	
#--------- script begins
	cd /usr/share/doc
	pwd
	exit 0
#---------- ends

when i run the code within HOME
it outputs

/usr/share/doc

but after i exited from the script ,current directory remains the HOME.
i need to cd through the script .what can i solve this ?

TIA
-jijo jose
<jijojose@sancharnet.in>





Reply to: