Simulating enter key via shell script

How to simulate enter key via shell script

Can you explain a bit more what you are going to do?

I want to press enter key twice at the command prompt using shell script