Hi I have a bash script i need to run, I have placed it in usr/local/bin how do i get it to execute from terminal, i have read i need to change permission 1st would like to know how, Do i have to cd to directory then chmod x filename . If not some help plz
>>7
thks for your advice, i need the script to run with the least amout of typing so i would like to just type sudo filename then script runs, am i right in thinking it should be in /bin folder once i have changed permissions or can i point the command to look in another folder without typing in the path? hope that made sense