how can i hack school computers using command prompt.

one of my friends told me that you could hack school computers using ''command prompt'' but i dont know how or what does it do.

or what does any one know other programs that can hack the web, so i could use facebook ,youtube etc.