perhaps the script could look like this:

cd /usr/share/doc
pwd
cd
exit 0

good luck :)

At 06:43 PM 1/1/02, Jijo Jose A wrote:
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
<[EMAIL PROTECTED]>




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Petre L. Daniel,System Administrator
Canad Systems Pitesti Romania,
http://www.cyber.ro, email:[EMAIL PROTECTED]
Tel:+4048220044, +4048206200

Reply via email to