Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- source functions.sh #includes another shell script into this file
- myFunc #function from functions.sh
- function myFunc2 {
- echo "This is a string"
- }
- VARIABLE="$(myFunc2)"
- echo "the var is $VARIABLE"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement