Zsh – Difference Between /usr/bin and /bin Locations

zsh

The /etc/shells says it has zsh installed in /bin/zsh, but also in /usr/bin/zsh.

brgr@envy17:~$ cat /etc/shells 
# /etc/shells: valid login shells
/bin/sh
/bin/dash
/bin/bash
/bin/rbash
/usr/bin/tmux
/usr/bin/screen
/bin/zsh        <--
/usr/bin/zsh    <--

Now, the internet suggests me to use the one from /usr/bin/.

My question is: why? What is the difference between these two and why is bash for example only intalled at one path (/bin/bash)?

Best Answer

One is probably a symlink (or hard link) to the other.....but they are the SAME file.

Related Question