Wash the shrimp, peel them, and pat dry.
Crack the eggs into a bowl and beat well.
Chop the green onions into small pieces.
Heat cooking oil in a pan and stir-fry the green onions until fragrant.
Add the shrimp and stir-fry until cooked through.
Pour in the beaten eggs and quickly scramble while stirring.
Add the rice and stir-fry until everything is well mixed.
Season with salt and pepper to taste.