Can you make bash script 2 function inside and outside then break
#!/bin/bash
# First function
function func1 {
echo "Inside function"
}
# Call function
func1
# Second function
function func2 {
echo "Outside function"
}
# Call function
func2
# Break script
exit 0
func1 is defined inside the script, and it is called before the second function, func2, which is defined outside of the script. Once both functions are called, the script exits using the exit command.