Find the answer to your Linux question:
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 ...
  1. #1
    Just 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)

    Code:
    ksh: /etc/bashrc[38]: shopt: not found
    ksh: /etc/bashrc[47]: shopt: not found
    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.

    Can anyone help me out here...

    Edit:
    I am running RHEL Server 4.7

  2. #2
    Just Joined!
    Join Date
    Feb 2009
    Posts
    2
    Bump? Anyone have any ideas? Please...

    OTF

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...