Changes

Jump to: navigation, search

Tutorial10: Shell Scripting - Part 1

311 bytes added, 09:48, 9 July 2020
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�'''Example:'''<br>'''chmod u+xmyscript.bash<br>./myscript.bash<br>/home/username/myscript.bash<br>~/myscript.bash'''
===Using Variables in Shell Scripts===
13,420
edits

Navigation menu