13,420
edits
Changes
→Creating & Executing Shell Scripts
'''Setting Permissions & Running a Shell Script'''
To run your shell script by name, you need to assign execute permissions for the user.<br>To run the shell script, you can execute it using a relative, absolute, or relative-to-home pathname�pathname '''Example:'''<br>'''chmod u+x myscript.bash<br>./myscript.bash<br>/home/username/myscript.bash<br>~/myscript.bash
'''