add exercise6.sh, template.sh
This commit is contained in:
20
template.sh
Normal file
20
template.sh
Normal file
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# <Replace with the purpose or description of of this shell script.>
|
||||
#
|
||||
|
||||
GLOBAL_VAR1="one"
|
||||
GLOBAL_VAR2="two"
|
||||
|
||||
function function_one() {
|
||||
local LOCAL_VAR1="one"
|
||||
# <Replace with function code.>
|
||||
}
|
||||
|
||||
# Main body of shell script starts here.
|
||||
#
|
||||
# <Replace with the main commands of your shell script.>
|
||||
#
|
||||
|
||||
# Exit with an explicit exit status.
|
||||
exit 0
|
||||
Reference in New Issue
Block a user