Trails?

How would I go about making a simple simple little trail. Something along the lines of like a little white line following a shooting star going across the sky. Any suggestions?

here is a good example!

Cool, but how would I make it like slowly dissipate?