A friend has promised to log in at a particular time. However, he needs to be contacted as soon as he logs in. The shell script checks after every minute whether he has logged in or not. The login name should be supplied to the shell script at the command prompt. Use the until loop.