Bash Script Help

Bill Marcum bmarcum at iglou.com
Sun Oct 30 19:26:55 UTC 2005


On Sat, 29 Oct 2005 12:21:18 -0400, David M. Carney 
  <carney1979 at gmail.com> wrote:
> This may be a bit O.T., but I'm trying to write a Bash script and I'm
> not sure how to do part of it.
>
> I just need to have it stop and wait for a keypress (any key).
>
> How do I do this??
>
stty raw
key=$(dd bs=1 count=1)
stty cooked


-- 
The perfect lover is one who turns into a pizza at 4:00 A.M.
		-- Charles Pierce (or Hannibal Lecter?)





More information about the ubuntu-users mailing list