Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Dec 1999 13:09:51 -0600
From:      Dan Nelson <dnelson@emsphone.com>
To:        Dan Larsson <dl@tyfon.net>
Cc:        "[FreeBSD-Questions-List] (E-post)" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: press any key to continue in sh
Message-ID:  <19991220130951.A2990@dan.emsphone.com>
In-Reply-To: <01BF4B21.FD8A5A90.dl@tyfon.net>; from "Dan Larsson" on Mon Dec 20 19:39:53 GMT 1999
References:  <01BF4B21.FD8A5A90.dl@tyfon.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Dec 20), Dan Larsson said:
> How do I best produce a 'press any key to continue' prompt in sh?

I usually use:

echo -n 'Press [enter]:'
head -1 > /dev/null

-- 
	Dan Nelson
	dnelson@emsphone.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991220130951.A2990>