Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

this is not a problem, just curious: Why ubuntu does not have /usr/bin/bash ?

as link to /bin/bash or other direction.

share|improve this question
2  
Why should it have one? –  Lekensteyn Dec 12 '11 at 22:10
    
Whether or not it is the right place for bash, a lot of utilities assume bash to be in /usr/bin/bash - if you look for example in most IDE's when they generate a template for a bash script they include '!#/usr/bin/bash' at the top. I think there is some legacy of that location being important and it would be nice if there was at least a symlink to it. Full-disclosure, I got bit by a utility that hard-coded /usr/bin/bash - a bad move sure - but if you can reduce the user pain due to bad moves by others, generally that is a win. –  user155376 May 4 '13 at 1:06
add comment

1 Answer

up vote 6 down vote accepted
oli@bert:~$ which bash
/bin/bash

Why would you expect it to be in /usr/bin/ instead of /bin/? You'll see from the FHS that /bin/ is supposed to be for essential userspace applications of which bash is most certainly one.

/usr/bin/ is for less essential stuff.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.