Article 5G7R4 [SOLVED] edit to .bashrc makes other directories executable, not just ~/bin

[SOLVED] edit to .bashrc makes other directories executable, not just ~/bin

by
amikoyan
from LinuxQuestions.org on (#5G7R4)
I added this to my .bashrc

Code:. /etc/profile
PATH=$PATH:~/binexpecting it would just cause ~/bin to allow files to be executed. However, it has allowed me to execute files in other directories located in the home directory.

I also tried adding this to .bashrc (not at the same time):
Code:export PATH=~/bin:"$PATH"with the same result.

I just want ~/bin to be able to allow files to be executedlatest?d=yIl2AUoC8zA latest?i=8rrKpf21Y14:NR9dD49ODTA:F7zBnMy latest?i=8rrKpf21Y14:NR9dD49ODTA:V_sGLiP latest?d=qj6IDK7rITs latest?i=8rrKpf21Y14:NR9dD49ODTA:gIN9vFw8rrKpf21Y14
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments