Heat oil in a pan, add mustard seeds and let them splutter. Add urad dal, dry red chillies, and curry leaves, and saute until golden.
Add the chopped cabbage to the pan, and mix well with the tempered spices. Cook on medium heat until the cabbage softens.
Season with salt and a pinch of turmeric powder. Stir well to ensure the spices are evenly distributed.
Finally, add grated coconut and mix thoroughly. Cook for another minute, then remove from heat. Serve hot with rice or roti.