Ruby on Rails Command Lines

Hi All

I am new to programming. Have some knowledge of html/css. I am starting to learn Ruby on Rails. Please be nice as I am really new.

I have what is probably a very basic question. When reading through Simply Rails 2 sometimes I have to enter more than one line of commands. How do I go to the next line with pressing enter and if processing the first line.