I have a script in my home direcroty which upon execution gives the essential system information like memory,cpu etc and is currently owned by root:root. Now I want to see that every non root user will run this file and grab the reqired system info. I know this is some thing associated with chown command and linking the particular file to one of the directories in the PATH variable. Of course I have symbolically linked this file to /usr/lcoal/bin which is included in the PATH variable.In fact I have done this before and forgotten the procedure.
Thanks in advance for your help.