[102437] in RedHat Linux List
Pause for keystroke
daemon@ATHENA.MIT.EDU (Ramon Gandia)
Thu Dec 3 02:10:24 1998
Date: Wed, 02 Dec 1998 22:05:55 -0900
From: Ramon Gandia <rfg@nook.net>
To: RedHat List <redhat-list@redhat.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
I am writing a shell (sh) script, and I want it to pause
for a keystroke to resume. Something like this snippet
of pseudo-code:
#
echo "insert floppy disk now"
echo "press any key when ready"
pause for keystroke
mount /mnt/floppy
#
How does something like this get put into a script
--
Ramon Gandia ==== Sysadmin ==== Nook Net ==== http://www.nook.net
285 West First Avenue rfg@nook.net
P.O. Box 970 tel. 907-443-7575
Nome, Alaska 99762-0970 ======================= fax. 907-443-2487
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.