0

I installed samtools executables within my bin directory under home directory. Installation works perfectly well. I am using Ubuntu 14.04 version and it has .profile and .bashrc in my home directory which looks like this which I asked in my previous post.

previous post

I want to add my /home/user/bin directory permanently in my PATH so that when I open the terminal, it automatically has samtools in the path. My .profile says to put /home/user/bin in the path but it is not executable.

How can I do it?

I have to run it like this after opening the terminal

. .profile
which samtools
/home/user/bin/samtools

Hope to hear from you guys

Thanks

0 Answers0