unix/linux有些带特殊字符的文件直接用rm删不掉,查inode可删:
$ ls -i 9701456 bsd 9580589 hello1.asm 9569757 hello.o 9577906 Linux1.asm 9569902 myas 9569010 pal_code 9569638 fasm 9580260 hello32.asm 9570469 hello.s 9576362 linux汇编语言开发指南code.zip 9568501 myhello.asm 9572411 h,9579506 hello.asm 9568950 JWasm211bl 9569529 lnxhello.asm 8652591 opt-sse1.c 9572039 hello 9576026 hello.c 9586809 Lin64_1.asm 9572734 main.c 8655922 opt-sse.c $ find ./ -inum 9572039 -ok rm '{}' \; < rm ... ./hello > ? y mymotif@mymotif-Vostro-14-5480:~/prg/mynasm$ l bsd/ h,hello32.asm hello.c hello.s Lin64_1.asm linux汇编语言开发指南code.zip main.c myhello.asm opt-sse.c fasm/ hello1.asm hello.asm hello.o JWasm211bl/ Linux1.asm lnxhello.asm
这里把 ./hello删除了