Are you sure that the 'sql' alias was being executed and that the current working directory wasn't just getting set to the same value by some other means? What if you try changing the sql alias to something else like 'date >> /tmp/sql_logfile.txt' - then see if it gets executed? ________________________________ From: Ruth Gramolini [mailto:ruth.gramolini@xxxxxxxxx] Sent: Monday, October 16, 2006 1:22 PM To: Allen, Brandon Cc: oracle-l@xxxxxxxxxxxxx Subject: Re: keywords The first part is right, but it is not being executed anywhere else. I spoke to the DBA who put it into the .profile and she just did it so she could get to her scripts easily without having to remember where they were on each server. Ruth Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it.