1. $PATH ensure the path is correct
2. Consider storing script in $User/bin which is /usr/local/bin
3. Run the script using ./srcipt-name . refers to current directory
4. in order to run the script, the script should have execute permission, to give permission
chmod +x myscript
5. bash myscript to run script.
6. executing script ./script-name i.e. executing without ./ can return un-expected results. to validate execute the command using which command.
2. Consider storing script in $User/bin which is /usr/local/bin
3. Run the script using ./srcipt-name . refers to current directory
4. in order to run the script, the script should have execute permission, to give permission
chmod +x myscript
5. bash myscript to run script.
6. executing script ./script-name i.e. executing without ./ can return un-expected results. to validate execute the command using which command.