I am doing this: Enter a command then press enter once to clear away some message that will pop out, then repeat.
1) *enter command*
2) *press enter to clear away message*
I want to automate the process using linux scripting but i can't seem to simulate pressing of ENTER key to clear away the message.
Any idea how to ?