Do somebody know which command should I use to make txt file which will contains 2 lines?

Something like this:

in 1
out 2

Thx.