Bash functions I have created