How do I start from scratch?

I want to format my desk and start my linux installation from scratch. How do I do this from the command line? How do I go to my C drive and then go to my root and then format my desk using linux command line commands?