Possible Duplicate:
How to correctly add a path to PATH?
I installed "perf" on Linux.
But I can only use it by specifying the path: ~/bin/perf
I checked path by using echo and I found /bin is there.
What else should I do?
Possible Duplicate:
How to correctly add a path to PATH?
I installed "perf" on Linux.
But I can only use it by specifying the path: ~/bin/perf
I checked path by using echo and I found /bin is there.
What else should I do?
~/bin is not /bin. Add it to $PATH.
You have to add ~/bin to $PATH. You can do it with this command :
export PATH="$PATH":~/bin
You can check your PATH variable with env :
env | grep ^PATH=