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

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...