[ubuntu] shell script help

view story

http://ubuntuforums.org – hello folks, i have this shell script, just messing around with shell scripts for fun. how would i edit this file so that if the username is wrong it will display the proper message "sorry wrong username exiting in 5 seconds" and then wait 5 seconds and apply the exit command? Im just not sure how to add it properly into the else field. keep in mind i do not want it to initiate the command to wait 5 seconds and exit if it is a successful login. Code: #!/bin/bash echo "enter your username" read username If [ "$username" = "jake" ] then &n (Hardware)