Using enter key in bash script

Lincoln Fessenden lincoln.fessenden at jefferson.edu
Wed Dec 15 12:49:33 UTC 2010


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




More information about the redhat-list mailing list