USB / Serial connection problem with arduino to rasp pi

What happens if you create a simple "hello world" program on your Mega and connect it to your RPi

I don't have an RPi myself but I use Linux on this laptop and I never have a problem connecting to my Arduinos.

...R