Tuesday, February 17, 2015

unix - How can I permanently add a path to my bash profile?




I would like to put the path of a binary in my bash profile which is not present in the usual location like /usr/bin or /sbin. For example, if the following is the path of the binary:


/path/to/bin

How would I put this path permanently in my bash profile so that every time I login I don't need to specify the path of the binary?

No comments:

Post a Comment