Using enter key in bash script
On 15/12/10 11:59, a bv wrote:
> 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?
Another option, if there's a lot of info, is to pipe the output through
'less' so it gets paged. Maybe add the '-e' option so that enter will
exit less rather than the default of having to use 'q'.
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : email@example.com
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
redhat-list mailing list