z/OS Tools & Language

Expand all | Collapse all

Erroneous output in shell after updating .bashrc

Jump to Best Answer
  • 1.  Erroneous output in shell after updating .bashrc

    Posted 16 days ago
    Edited by Keith Gagne 16 days ago
    Going through the installation steps I am getting an error.

    Installation is successful, however after updating the .bashrc file according to the installation document, I get the following erroneous output when I login via ssh.
    Output:
    bash: $'K@a\242\205\231\245\211\203\205a\244\242\231a\231\226\203\222\205\243a\205\243\203a\227\231\226\206\211\223\205K\204a\203\226\225\204\201K\242\210\025': command not found


    userid/.profile
    $cat .profile
    export _BPXK_AUTOCVT=ON
    export _CEE_RUNOPTS="FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)"
    SHELL=/conda_install_path/bin/bash
    exec $SHELL

    userid/.bashrc
    $cat .bashrc
    . /conda_install_path/etc/profile.d/conda.sh

    Anyone experience this before?

    ------------------------------
    Keith Gagne
    ------------------------------


  • 2.  RE: Erroneous output in shell after updating .bashrc
    Best Answer

    Posted 15 days ago
    Hello Keith,

    Is your .bashrc tagged? If not, please tag it with IBM-1047:

    chtag -tc 1047 ~/.bashrc

    Regards,
    Vladimir

    ------------------------------
    Vladimir Ein
    Rocket Software
    ------------------------------



  • 3.  RE: Erroneous output in shell after updating .bashrc

    Posted 15 days ago
    That worked! Thank you.

    ------------------------------
    Keith Gagne
    ------------------------------