Cut the cabbage and beef into bite-sized pieces.
Slice the onion and green onion thinly.
Add cooking oil to a pan and stir-fry the beef.
When the beef is half-cooked, add the onion, green onion, and cabbage and continue stir-frying.
Season with soy sauce, sugar, minced garlic, and pepper.
Stir-fry until all the ingredients are cooked through.
Serve the stir-fried mixture over rice to finish.