Results 1 to 2 of 2
For some reason when I drop into ksh it does two things I don't want it to. First, and less painful I think, is it pops up these errors (but ...
- 02-26-2009 #1Just Joined!
- Join Date
- Feb 2009
- Posts
- 2
Ksh changes my working directory
For some reason when I drop into ksh it does two things I don't want it to. First, and less painful I think, is it pops up these errors (but still goes into ksh). I'm not sure why it's calling /etc/bashrc... And lines 38 and 47 are the end of 2 if statements. (at the fi statement)
Second, and more of a pain, it drops me into my home directory. This is an issue because I have a program that runs in ksh so when I pass a file to it I must do that with the exact path. (ie... program /home/usre/file.ext ) Also the output files are dropped to the home directory and not the current working directory.Code:ksh: /etc/bashrc[38]: shopt: not found ksh: /etc/bashrc[47]: shopt: not found
Can anyone help me out here...
Edit:
I am running RHEL Server 4.7
- 03-02-2009 #2Just Joined!
- Join Date
- Feb 2009
- Posts
- 2
Bump? Anyone have any ideas? Please...

OTF


Reply With Quote