1ãåè½ä¸çåºå«
mvï¼ç¨æ·å¯ä»¥ä½¿ç¨è¯¥å½ä»¤ä¸ºæ件æç®å½éå½åæå°æ件ç±ä¸ä¸ªç®å½ç§»å ¥å¦ä¸ä¸ªç®å½ä¸ã
cp: 该å½ä»¤çåè½æ¯å°ç»åºçæ件æç®å½æ·è´å°å¦ä¸æ件æç®å½ä¸ã
2ãä»inodeè§åº¦æ¥åºå
mvï¼ä¼å°åå¨äºindoeç´¢å¼èç¹ä¸çæ件å ä¿¡æ¯ä¹ç§»å¨å°æ°æ件ä¸ã
cp : åªä¼å¤å¶æ件æ°æ®ï¼ä¸ä¼å¤å¶inodeç´¢å¼èç¹ä¸çæ件å ä¿¡æ¯ã
æµè¯ææå¦ä¸å¾æ示ï¼æ³¨æçinodeå·çååãmvå½ä»¤æ§è¡åï¼testçinodeå·åæäº1.txtçinodeå·ï¼ècpå½ä»¤æ§è¡åï¼testã1.txt两个æ件çinodeå·æ²¡æåçåå ã