Help! I just need to know the complete command. To add the execute permission. Please.
Asked
Active
Viewed 148 times
1 Answers
-1
To give the execute permission to a shell script or the like, key in:
chmod +x /dir_path/file_name.sh
Make note, you'll need sudo
for a file that is found in any of the system required folders.
For a further read into Linux permissions, click here. You'll find that there are two official ways of granting execute, as well as, more detail on how to formulate them.
sudo
is not required in all cases. Try not to use unnecessarysudo
– sourav c. Jan 18 '15 at 05:40