Whenever I open a terminal, I see the line “bash: /home/usr/tools/tool: Is a directory”

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











up vote
0
down vote

favorite












I was installing a toolkit for data analysis of experimental data and while installing I was prompted to be the root user. Since completing the basic installation of the toolkit, whenever I reopen a new terminal I always get the line



bash: /home/usr/tools/tool: Is a directory


before I have run any commands. It is annoying to see the line every time I open the terminal.



Why is this happening and how can I get rid of it?










share|improve this question



















  • 1




    Your shell startup files may have been modified with an invalid command during the package installation. Since you ran the installation as root, I would suggest checking under /etc/profile/, /etc/profile.d and /etc/bashrc.
    – Haxiel
    Nov 19 at 6:24










  • Which toolkit did you install?
    – nxnev
    Nov 19 at 6:26










  • Regulatory Sequence Analysis Tools(RSAT)
    – Rupjyoti Das
    Nov 19 at 6:36






  • 1




    @Haxiel On Ubuntu there is no /etc/bashrc and /etc/profile (like ~/.profile) is only sourced once on login unless the shell is explicitly started as a login shell. I strongly suspect the offending line is in ~/.bashrc - Rupjyoti Das, please look there for any lines not in /etc/skel/.bashrc (the system backup default bashrc) and not added by you. You can show the file here if you don't understand the content. (It may also be in /etc/bash.bashrc but I've never seen a case of it). Also, if you link to the instructions you used it will likely be much easier to see what happened...
    – Zanna
    Nov 19 at 10:30










  • Thanks, @Zanna and others too. Zanna, you are right, the problem was in the ~/.bashrc file. I changed the line which I added wrongly during the installation of the toolkit using nano. It has been dealt with by editing that last line. Now the prompt in the terminal is gone.
    – Rupjyoti Das
    Nov 19 at 10:47















up vote
0
down vote

favorite












I was installing a toolkit for data analysis of experimental data and while installing I was prompted to be the root user. Since completing the basic installation of the toolkit, whenever I reopen a new terminal I always get the line



bash: /home/usr/tools/tool: Is a directory


before I have run any commands. It is annoying to see the line every time I open the terminal.



Why is this happening and how can I get rid of it?










share|improve this question



















  • 1




    Your shell startup files may have been modified with an invalid command during the package installation. Since you ran the installation as root, I would suggest checking under /etc/profile/, /etc/profile.d and /etc/bashrc.
    – Haxiel
    Nov 19 at 6:24










  • Which toolkit did you install?
    – nxnev
    Nov 19 at 6:26










  • Regulatory Sequence Analysis Tools(RSAT)
    – Rupjyoti Das
    Nov 19 at 6:36






  • 1




    @Haxiel On Ubuntu there is no /etc/bashrc and /etc/profile (like ~/.profile) is only sourced once on login unless the shell is explicitly started as a login shell. I strongly suspect the offending line is in ~/.bashrc - Rupjyoti Das, please look there for any lines not in /etc/skel/.bashrc (the system backup default bashrc) and not added by you. You can show the file here if you don't understand the content. (It may also be in /etc/bash.bashrc but I've never seen a case of it). Also, if you link to the instructions you used it will likely be much easier to see what happened...
    – Zanna
    Nov 19 at 10:30










  • Thanks, @Zanna and others too. Zanna, you are right, the problem was in the ~/.bashrc file. I changed the line which I added wrongly during the installation of the toolkit using nano. It has been dealt with by editing that last line. Now the prompt in the terminal is gone.
    – Rupjyoti Das
    Nov 19 at 10:47













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I was installing a toolkit for data analysis of experimental data and while installing I was prompted to be the root user. Since completing the basic installation of the toolkit, whenever I reopen a new terminal I always get the line



bash: /home/usr/tools/tool: Is a directory


before I have run any commands. It is annoying to see the line every time I open the terminal.



Why is this happening and how can I get rid of it?










share|improve this question















I was installing a toolkit for data analysis of experimental data and while installing I was prompted to be the root user. Since completing the basic installation of the toolkit, whenever I reopen a new terminal I always get the line



bash: /home/usr/tools/tool: Is a directory


before I have run any commands. It is annoying to see the line every time I open the terminal.



Why is this happening and how can I get rid of it?







bash ubuntu terminal






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 19 at 10:19









Zanna

2,5061023




2,5061023










asked Nov 19 at 6:07









Rupjyoti Das

11




11







  • 1




    Your shell startup files may have been modified with an invalid command during the package installation. Since you ran the installation as root, I would suggest checking under /etc/profile/, /etc/profile.d and /etc/bashrc.
    – Haxiel
    Nov 19 at 6:24










  • Which toolkit did you install?
    – nxnev
    Nov 19 at 6:26










  • Regulatory Sequence Analysis Tools(RSAT)
    – Rupjyoti Das
    Nov 19 at 6:36






  • 1




    @Haxiel On Ubuntu there is no /etc/bashrc and /etc/profile (like ~/.profile) is only sourced once on login unless the shell is explicitly started as a login shell. I strongly suspect the offending line is in ~/.bashrc - Rupjyoti Das, please look there for any lines not in /etc/skel/.bashrc (the system backup default bashrc) and not added by you. You can show the file here if you don't understand the content. (It may also be in /etc/bash.bashrc but I've never seen a case of it). Also, if you link to the instructions you used it will likely be much easier to see what happened...
    – Zanna
    Nov 19 at 10:30










  • Thanks, @Zanna and others too. Zanna, you are right, the problem was in the ~/.bashrc file. I changed the line which I added wrongly during the installation of the toolkit using nano. It has been dealt with by editing that last line. Now the prompt in the terminal is gone.
    – Rupjyoti Das
    Nov 19 at 10:47













  • 1




    Your shell startup files may have been modified with an invalid command during the package installation. Since you ran the installation as root, I would suggest checking under /etc/profile/, /etc/profile.d and /etc/bashrc.
    – Haxiel
    Nov 19 at 6:24










  • Which toolkit did you install?
    – nxnev
    Nov 19 at 6:26










  • Regulatory Sequence Analysis Tools(RSAT)
    – Rupjyoti Das
    Nov 19 at 6:36






  • 1




    @Haxiel On Ubuntu there is no /etc/bashrc and /etc/profile (like ~/.profile) is only sourced once on login unless the shell is explicitly started as a login shell. I strongly suspect the offending line is in ~/.bashrc - Rupjyoti Das, please look there for any lines not in /etc/skel/.bashrc (the system backup default bashrc) and not added by you. You can show the file here if you don't understand the content. (It may also be in /etc/bash.bashrc but I've never seen a case of it). Also, if you link to the instructions you used it will likely be much easier to see what happened...
    – Zanna
    Nov 19 at 10:30










  • Thanks, @Zanna and others too. Zanna, you are right, the problem was in the ~/.bashrc file. I changed the line which I added wrongly during the installation of the toolkit using nano. It has been dealt with by editing that last line. Now the prompt in the terminal is gone.
    – Rupjyoti Das
    Nov 19 at 10:47








1




1




Your shell startup files may have been modified with an invalid command during the package installation. Since you ran the installation as root, I would suggest checking under /etc/profile/, /etc/profile.d and /etc/bashrc.
– Haxiel
Nov 19 at 6:24




Your shell startup files may have been modified with an invalid command during the package installation. Since you ran the installation as root, I would suggest checking under /etc/profile/, /etc/profile.d and /etc/bashrc.
– Haxiel
Nov 19 at 6:24












Which toolkit did you install?
– nxnev
Nov 19 at 6:26




Which toolkit did you install?
– nxnev
Nov 19 at 6:26












Regulatory Sequence Analysis Tools(RSAT)
– Rupjyoti Das
Nov 19 at 6:36




Regulatory Sequence Analysis Tools(RSAT)
– Rupjyoti Das
Nov 19 at 6:36




1




1




@Haxiel On Ubuntu there is no /etc/bashrc and /etc/profile (like ~/.profile) is only sourced once on login unless the shell is explicitly started as a login shell. I strongly suspect the offending line is in ~/.bashrc - Rupjyoti Das, please look there for any lines not in /etc/skel/.bashrc (the system backup default bashrc) and not added by you. You can show the file here if you don't understand the content. (It may also be in /etc/bash.bashrc but I've never seen a case of it). Also, if you link to the instructions you used it will likely be much easier to see what happened...
– Zanna
Nov 19 at 10:30




@Haxiel On Ubuntu there is no /etc/bashrc and /etc/profile (like ~/.profile) is only sourced once on login unless the shell is explicitly started as a login shell. I strongly suspect the offending line is in ~/.bashrc - Rupjyoti Das, please look there for any lines not in /etc/skel/.bashrc (the system backup default bashrc) and not added by you. You can show the file here if you don't understand the content. (It may also be in /etc/bash.bashrc but I've never seen a case of it). Also, if you link to the instructions you used it will likely be much easier to see what happened...
– Zanna
Nov 19 at 10:30












Thanks, @Zanna and others too. Zanna, you are right, the problem was in the ~/.bashrc file. I changed the line which I added wrongly during the installation of the toolkit using nano. It has been dealt with by editing that last line. Now the prompt in the terminal is gone.
– Rupjyoti Das
Nov 19 at 10:47





Thanks, @Zanna and others too. Zanna, you are right, the problem was in the ~/.bashrc file. I changed the line which I added wrongly during the installation of the toolkit using nano. It has been dealt with by editing that last line. Now the prompt in the terminal is gone.
– Rupjyoti Das
Nov 19 at 10:47
















active

oldest

votes











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f482674%2fwhenever-i-open-a-terminal-i-see-the-line-bash-home-usr-tools-tool-is-a-dir%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f482674%2fwhenever-i-open-a-terminal-i-see-the-line-bash-home-usr-tools-tool-is-a-dir%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown






Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?