Skip to main content
New Participant
Oct 7, 2020 5:24 PM UTC

Erroneous output in shell after updating .bashrc

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 replies

    Vladimir Ein
    Rocketeer
    Oct 8, 2020 1:35 AM UTC
    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
    ------------------------------
    Hello Keith,

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

    chtag -tc 1047 ~/.bashrc

    Regards,
    Vladimir

    ------------------------------
    Vladimir Ein
    Rocket Software
    ------------------------------
    New Participant
    Oct 8, 2020 12:07 PM UTC
    Hello Keith,

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

    chtag -tc 1047 ~/.bashrc

    Regards,
    Vladimir

    ------------------------------
    Vladimir Ein
    Rocket Software
    ------------------------------
    That worked! Thank you.

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