[PLUG] bash command to wait for key press
Marvin J. Kosmal
lamsokvr at xprt.net
Sat Nov 22 16:56:02 UTC 2003
On Sat, 2003-11-22 at 16:17, David Fleck wrote:
> On Sat, 22 Nov 2003, Marvin J. Kosmal wrote:
> > How about
> >
> > echo -n "Please insert a CD"
> > read cd
> > echo "Thanks for the CD"
> >
> > read will wait for the input and return key..
> >
> > HTH
> > >
>
> Or:
>
> read -p "Please insert a CD: " cd
I like better then my solution..
--
Marvin J. Kosmal
Linux Activist
Registered User # 88512
Brought to by Libranet 2.7
More information about the PLUG
mailing list