Hi there --
I want to add an interactive section within a shell script where a pause will occur to allow the user to either hit the 'y' key to continue onto the next section, or the 'n' key to stop and exit from the script. The code that has been written thus far is shown below
Code:
#!/bin/bash
# This script will activate the local e-mail client for the
# user in order to facilitate the transfer of any screengrab
# to an e-mail account and/or PC.
# Display the following message on-screen prior to starting
# the e-mail application.
echo
echo
echo ----------------------------------------------------
echo Screengrab transfer utility
echo ----------------------------------------------------
echo
echo If there are any questions or concerns,
echo please contact the system administrator.
echo
echo
echo
echo Press any key to continue...
Can someone provide me with the correct syntax to complete this task? Thanks.