Skip to main content
2 of 5
fixed tags
andcoz
  • 17.5k
  • 4
  • 40
  • 46

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.