I have many command line tools that I use frequently. I was using the normal method to traverse till the complete path of that command through terminal and then did ./command-name BUT this is a cumbersome and time-consuming task.
Researching the topic of "How to execute a command from anywhere through terminal", I ended up in solution to include the path in the environment variable (by editing ./bashrc).
This works fine.
I even found out that all the commands that work globally(like mkdir, ifconfig, cp, etc ) are placed in "/bin" directory.
On including the "symlinks" of my commands in "/bin" directory, all is working fine and I can execute the commands from anywhere in terminal.
My Question
Is it safe to place symlinks in /bin directory directly. I am asking this because while placing the symlinks, it asked me for administrator password.
Will it create any difference if I place commands' symlinks in /bin as compared to /usr/bin directory ?
Environment (if it matters):
Ubuntu 13.10, 32-bit.