linuxÖÐrm-rfÏÂÁîÖ¸µÄÊÇʲô
ÔÚlinuxÖУ¬”rm -rf”ÊÇÒ»¸öΣÏÕ¶øÇ¿Ê¢µÄÏÂÁÓÃÓÚɾ³ýÎļþºÍĿ¼¡£¡°rm”ÊÇɾ³ýÏÂÁ¡±-rf”ÊÇÁ½¸öÑ¡ÏîµÄ×éºÏ¡£
ÔÚLinuxÖУ¬”rm -rf”ÊÇÒ»¸öΣÏÕ¶øÇ¿Ê¢µÄÏÂÁÓÃÓÚɾ³ýÎļþºÍĿ¼¡£ÆäÖУ¬¡°rm”ÊÇɾ³ýÏÂÁ¡±-rf”ÊÇÁ½¸öÑ¡ÏîµÄ×éºÏ¡£
¡°-r”Ñ¡ÏîÌåÏֵݹéɾ³ý£¬¼´É¾³ýÖ¸¶¨Ä¿Â¼ÏµÄËùÓÐÎļþºÍ×ÓĿ¼¡£ÈôÊDz»Ê¹Óá±-r”Ñ¡Ïµ±Ö¸¶¨Ä¿Â¼Îª·Ç¿ÕĿ¼ʱ£¬½«ÎÞ·¨É¾³ý¡£
¡°-f”Ñ¡ÏîÌåÏÖÇ¿ÖÆɾ³ý£¬¼´²»»á·ºÆðÈκÎÌáÐÑ£¬Ö±½Óɾ³ýÎļþºÍĿ¼¡£ÈôÊDz»Ê¹Óá±-f”Ñ¡ÏÔÚɾ³ýijЩÌØÊâÎļþ»òĿ¼ʱ£¬»á·ºÆðÌáÐÑÐÅÏ¢£¬ÐèҪȷÈÏÊÇ·ñɾ³ý¡£
Òò´Ë£¬”rm -rf”ÏÂÁî»áµÝ¹éµØɾ³ýÖ¸¶¨Ä¿Â¼ÏµÄËùÓÐÎļþºÍ×ÓĿ¼£¬²¢ÇÒ²»»áÓÐÈκÎÌáÐÑÐÅÏ¢¡£Õâ¸öÏÂÁîÐèÒªÉóÉ÷ʹÓã¬ÓÉÓÚÒ»µ©Ö´ÐУ¬É¾³ýµÄÎļþºÍĿ¼½«ÎÞ·¨»Ö¸´¡£
ÒÔÉϾÍÊÇlinuxÖÐrm-rfÏÂÁîÖ¸µÄÊÇʲôµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡