Slice the beef thinly.
Julienne the onion and green onion.
Heat cooking oil in a pan and stir-fry the beef.
When the beef is cooked, add the julienned onion and green onion and stir-fry together.
Season with soy sauce, sugar, and minced garlic.
Once all ingredients are evenly cooked, turn off the heat.