shell script read code example Example: shell script function read read -s -p “Enter Password: ” pswd