Thursday 15 January 2015

freebsd - How to set my own program as a buind-in command? -


I have several Pearl programs and I want to give this program as build-in command. This means that I want to use the perl program argu1 argu2 to change the program argu1 argu2 .

But I want to impose that it can only be used by me. How can I go about doing this?

Thank you

  1. Create a directory only You have permission, it Name "script"
  2. Create a script file that will be named after your program
  3. By typing that script file into your ~ / .bashrc PATH by typing:

      PATH = $ PATH: & lt; Script Directory - Here & gt;      

No comments:

Post a Comment