Communication Between Linux and Arduino

You will find it helpful to spend some time studying the Serial Input Basics tutorial.

If that doesn't cover your questions, follow the instructions in the "How to get the best out of this forum", linked at the head of every forum topic, to improve your post and the chances of getting help.