Re: Using enter key in bash script



On 12/15/10 6:59 AM, a bv wrote:
Hi,

I want to write a script which will run a command that gives some
written information and needs to press enter key to go on keyboard.
Then it will ftp its output etc.

How can i easily make this enter key issue on the script?

Regards

#!/bin/bash
echo "Press Enter"
read result

--
Lincoln Fessenden
Linux Systems Administrator
215-503-0986

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages