Slice the beef thinly.
Julienne the onion and green onion.
Marinate the beef with soy sauce, sugar, minced garlic, sesame oil, and pepper.
Heat cooking oil in a pan and stir-fry the onion and green onion.
Add the marinated beef to the pan and stir-fry.
When the beef is cooked, sprinkle sesame seeds to finish.