Message in the terminal

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












Well, i recently uninstall Oracle SQL developer... since that, when I open a terminal it shows me this:



bash: /u01/app/oracle/product/11.2.0/xe/bin/nls_lang.sh: No such file or directory


And I don't know how to remove it. Any suggestions?



enter image description here







share|improve this question





















  • Do grep -n 'nls_lang' ~/.bashrc in terminal. It probably put a config line there.
    – Sergiy Kolodyazhnyy
    Jun 6 at 23:44











  • still appearing :(
    – Sergio
    Jun 7 at 2:24










  • What did grep command tell you, first of all ?
    – Sergiy Kolodyazhnyy
    Jun 7 at 2:25






  • 1




    120:export NLS_LANG=$ORACLE_HOME/bin/nls_lang.sh
    – Sergio
    Jun 7 at 3:19










  • Very well. Hold on a minute, will write an answer.
    – Sergiy Kolodyazhnyy
    Jun 7 at 3:22














up vote
0
down vote

favorite












Well, i recently uninstall Oracle SQL developer... since that, when I open a terminal it shows me this:



bash: /u01/app/oracle/product/11.2.0/xe/bin/nls_lang.sh: No such file or directory


And I don't know how to remove it. Any suggestions?



enter image description here







share|improve this question





















  • Do grep -n 'nls_lang' ~/.bashrc in terminal. It probably put a config line there.
    – Sergiy Kolodyazhnyy
    Jun 6 at 23:44











  • still appearing :(
    – Sergio
    Jun 7 at 2:24










  • What did grep command tell you, first of all ?
    – Sergiy Kolodyazhnyy
    Jun 7 at 2:25






  • 1




    120:export NLS_LANG=$ORACLE_HOME/bin/nls_lang.sh
    – Sergio
    Jun 7 at 3:19










  • Very well. Hold on a minute, will write an answer.
    – Sergiy Kolodyazhnyy
    Jun 7 at 3:22












up vote
0
down vote

favorite









up vote
0
down vote

favorite











Well, i recently uninstall Oracle SQL developer... since that, when I open a terminal it shows me this:



bash: /u01/app/oracle/product/11.2.0/xe/bin/nls_lang.sh: No such file or directory


And I don't know how to remove it. Any suggestions?



enter image description here







share|improve this question













Well, i recently uninstall Oracle SQL developer... since that, when I open a terminal it shows me this:



bash: /u01/app/oracle/product/11.2.0/xe/bin/nls_lang.sh: No such file or directory


And I don't know how to remove it. Any suggestions?



enter image description here









share|improve this question












share|improve this question




share|improve this question








edited Jun 6 at 23:53









Sergiy Kolodyazhnyy

63.6k9127272




63.6k9127272









asked Jun 6 at 23:31









Sergio

32




32











  • Do grep -n 'nls_lang' ~/.bashrc in terminal. It probably put a config line there.
    – Sergiy Kolodyazhnyy
    Jun 6 at 23:44











  • still appearing :(
    – Sergio
    Jun 7 at 2:24










  • What did grep command tell you, first of all ?
    – Sergiy Kolodyazhnyy
    Jun 7 at 2:25






  • 1




    120:export NLS_LANG=$ORACLE_HOME/bin/nls_lang.sh
    – Sergio
    Jun 7 at 3:19










  • Very well. Hold on a minute, will write an answer.
    – Sergiy Kolodyazhnyy
    Jun 7 at 3:22
















  • Do grep -n 'nls_lang' ~/.bashrc in terminal. It probably put a config line there.
    – Sergiy Kolodyazhnyy
    Jun 6 at 23:44











  • still appearing :(
    – Sergio
    Jun 7 at 2:24










  • What did grep command tell you, first of all ?
    – Sergiy Kolodyazhnyy
    Jun 7 at 2:25






  • 1




    120:export NLS_LANG=$ORACLE_HOME/bin/nls_lang.sh
    – Sergio
    Jun 7 at 3:19










  • Very well. Hold on a minute, will write an answer.
    – Sergiy Kolodyazhnyy
    Jun 7 at 3:22















Do grep -n 'nls_lang' ~/.bashrc in terminal. It probably put a config line there.
– Sergiy Kolodyazhnyy
Jun 6 at 23:44





Do grep -n 'nls_lang' ~/.bashrc in terminal. It probably put a config line there.
– Sergiy Kolodyazhnyy
Jun 6 at 23:44













still appearing :(
– Sergio
Jun 7 at 2:24




still appearing :(
– Sergio
Jun 7 at 2:24












What did grep command tell you, first of all ?
– Sergiy Kolodyazhnyy
Jun 7 at 2:25




What did grep command tell you, first of all ?
– Sergiy Kolodyazhnyy
Jun 7 at 2:25




1




1




120:export NLS_LANG=$ORACLE_HOME/bin/nls_lang.sh
– Sergio
Jun 7 at 3:19




120:export NLS_LANG=$ORACLE_HOME/bin/nls_lang.sh
– Sergio
Jun 7 at 3:19












Very well. Hold on a minute, will write an answer.
– Sergiy Kolodyazhnyy
Jun 7 at 3:22




Very well. Hold on a minute, will write an answer.
– Sergiy Kolodyazhnyy
Jun 7 at 3:22










1 Answer
1






active

oldest

votes

















up vote
0
down vote



accepted










As solved in the comments via checking your ~/.bashrc file via grep -n 'nls_lang' ~/.bashrc, there's




export NLS_LANG=`$ORACLE_HOME/bin/nls_lang.sh`


segment on the line 120. Simply remove that line or comment out, and the error won't appear again.



The backticks are a form of command-substitution, so this expands $ORACLE_HOME to specific directory, concatenates it with /bin/nls_lang.sh. and executes that script. The output of that script should have been saved to NLS_LANG variable, and exported for use when that software is called from command line. In general, export makes variables available to whatever process shell starts.



As you have uninstalled the software, so the nls_lang.sh is also gone, but your ~/.bashrc file has remained unchanged. Since bash reads ~/.bashrc whenever you open interactive session in terminal, it still tries to execute that non-existing script, and that's why you see the error. What you should do, is go through ~/.bashrc and probably remove the related variables such as $ORACLE_HOME and others.






share|improve this answer





















  • Ok, I fixed it. Thank you so much for your help. Peace!
    – Sergio
    Jun 7 at 21:39










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1044314%2fmessage-in-the-terminal%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote



accepted










As solved in the comments via checking your ~/.bashrc file via grep -n 'nls_lang' ~/.bashrc, there's




export NLS_LANG=`$ORACLE_HOME/bin/nls_lang.sh`


segment on the line 120. Simply remove that line or comment out, and the error won't appear again.



The backticks are a form of command-substitution, so this expands $ORACLE_HOME to specific directory, concatenates it with /bin/nls_lang.sh. and executes that script. The output of that script should have been saved to NLS_LANG variable, and exported for use when that software is called from command line. In general, export makes variables available to whatever process shell starts.



As you have uninstalled the software, so the nls_lang.sh is also gone, but your ~/.bashrc file has remained unchanged. Since bash reads ~/.bashrc whenever you open interactive session in terminal, it still tries to execute that non-existing script, and that's why you see the error. What you should do, is go through ~/.bashrc and probably remove the related variables such as $ORACLE_HOME and others.






share|improve this answer





















  • Ok, I fixed it. Thank you so much for your help. Peace!
    – Sergio
    Jun 7 at 21:39














up vote
0
down vote



accepted










As solved in the comments via checking your ~/.bashrc file via grep -n 'nls_lang' ~/.bashrc, there's




export NLS_LANG=`$ORACLE_HOME/bin/nls_lang.sh`


segment on the line 120. Simply remove that line or comment out, and the error won't appear again.



The backticks are a form of command-substitution, so this expands $ORACLE_HOME to specific directory, concatenates it with /bin/nls_lang.sh. and executes that script. The output of that script should have been saved to NLS_LANG variable, and exported for use when that software is called from command line. In general, export makes variables available to whatever process shell starts.



As you have uninstalled the software, so the nls_lang.sh is also gone, but your ~/.bashrc file has remained unchanged. Since bash reads ~/.bashrc whenever you open interactive session in terminal, it still tries to execute that non-existing script, and that's why you see the error. What you should do, is go through ~/.bashrc and probably remove the related variables such as $ORACLE_HOME and others.






share|improve this answer





















  • Ok, I fixed it. Thank you so much for your help. Peace!
    – Sergio
    Jun 7 at 21:39












up vote
0
down vote



accepted







up vote
0
down vote



accepted






As solved in the comments via checking your ~/.bashrc file via grep -n 'nls_lang' ~/.bashrc, there's




export NLS_LANG=`$ORACLE_HOME/bin/nls_lang.sh`


segment on the line 120. Simply remove that line or comment out, and the error won't appear again.



The backticks are a form of command-substitution, so this expands $ORACLE_HOME to specific directory, concatenates it with /bin/nls_lang.sh. and executes that script. The output of that script should have been saved to NLS_LANG variable, and exported for use when that software is called from command line. In general, export makes variables available to whatever process shell starts.



As you have uninstalled the software, so the nls_lang.sh is also gone, but your ~/.bashrc file has remained unchanged. Since bash reads ~/.bashrc whenever you open interactive session in terminal, it still tries to execute that non-existing script, and that's why you see the error. What you should do, is go through ~/.bashrc and probably remove the related variables such as $ORACLE_HOME and others.






share|improve this answer













As solved in the comments via checking your ~/.bashrc file via grep -n 'nls_lang' ~/.bashrc, there's




export NLS_LANG=`$ORACLE_HOME/bin/nls_lang.sh`


segment on the line 120. Simply remove that line or comment out, and the error won't appear again.



The backticks are a form of command-substitution, so this expands $ORACLE_HOME to specific directory, concatenates it with /bin/nls_lang.sh. and executes that script. The output of that script should have been saved to NLS_LANG variable, and exported for use when that software is called from command line. In general, export makes variables available to whatever process shell starts.



As you have uninstalled the software, so the nls_lang.sh is also gone, but your ~/.bashrc file has remained unchanged. Since bash reads ~/.bashrc whenever you open interactive session in terminal, it still tries to execute that non-existing script, and that's why you see the error. What you should do, is go through ~/.bashrc and probably remove the related variables such as $ORACLE_HOME and others.







share|improve this answer













share|improve this answer



share|improve this answer











answered Jun 7 at 3:27









Sergiy Kolodyazhnyy

63.6k9127272




63.6k9127272











  • Ok, I fixed it. Thank you so much for your help. Peace!
    – Sergio
    Jun 7 at 21:39
















  • Ok, I fixed it. Thank you so much for your help. Peace!
    – Sergio
    Jun 7 at 21:39















Ok, I fixed it. Thank you so much for your help. Peace!
– Sergio
Jun 7 at 21:39




Ok, I fixed it. Thank you so much for your help. Peace!
– Sergio
Jun 7 at 21:39












 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1044314%2fmessage-in-the-terminal%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491