linux shell script function return