HOW TO REDIRECT COMMAND OUTPUT TO TEXT FILE IN CMD
Thecommandtoremoveadirectoryisrm.Soyouneed2commands.rm-r~/Desktop/foo/mkdir~/Desktop/foo/,Commandextensions,whichareenabledbydefault,allowyoutouseasinglemkdircommandtocreateintermediatedirectoriesinaspecifiedpath ...,Ifpartofthedirectoryalreadyex...。參考影片的文章的如下: