Wash the cabbage thoroughly and shred it.
Thinly slice the onion and carrot as well.
Add cooking oil to a pan and sauté the onion and carrot.
Add the cabbage and stir-fry together.
Season with soy sauce, sugar, and pepper.
Place the stir-fried vegetables over rice.
Serve with a fried egg to finish.