Whenever I open a terminal, I see the line “bash: /home/usr/tools/tool: Is a directory”
Clash 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?
bash ubuntu terminal
add a comment |
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?
bash ubuntu terminal
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
add a comment |
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?
bash ubuntu terminal
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
bash ubuntu terminal
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
add a comment |
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
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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