What is the linux script avi to flv sh conversion?

I want to convert one avi file to flv format. I am beginner user of linux and not expert with linux scripts. How can I do the conversion and What is the linux script avi to flv sh conversion?
Thank You
