Skip to main content
3 of 5
edited tags
Gilles 'SO- stop being evil'
  • 865.4k
  • 205
  • 1.8k
  • 2.3k

How to execute a function in the .profile file

I have a function which is supposed to remove duplicate copies of directories from my PATH environment variable. I have created some duplicates so i can test it but i don't know how to:

  1. put the script in the HOME/.bashrc file

This may seem stupid but i cant figure it out.