You can plant the bases of fresh green onions. Most will regrow their leaves and provide you with additional green onion to eat. This will be the first year I have been able to keep them alive into the hot part of the summer, because the onions can't dry out in the heat. Shade is helpful also.
You should try it! It's rewarding to see the fast growing changes and growth. And it stores food outside in the ground, uneaten by bugs and rot. The onion's pungency repels other insects.