#test #!/bin/bash yes() { echo "yes" } no() { echo "no" } ------------------------- running the command ./test yes or ./test no doesnt work. and i have no idea why.