Run .sh file from anywhere using environment variables

How to run .sh file from any directory.I couldn’t open bin folder in which .bashrc file exists.I wanted to set the path variable.Please help.
I have tried using these to set the path


sorry i have understood the question wrongly in milestone#2/3.I guess the question in milestone#2/3 isn’t that complicated.But it would be great help if someone would help me how to run .sh file without going to linux_commands directory(in this case).

Hey, please understand, you have to write the bash script in such a way that the output is not affected wherever you execute it.