删除单个文件或者是空文件夹
[testusr@test-server ~]$ ls -i
403978635 ? 403978629 ??? 136614872 applications 956987 bin 473150356 freeware 403978637 ??j?6??r?,0ʏ?????QY??5? 1870038 logs 202248742 sbin 473121881 tomcat
[testusr@test-server ~]$ ll -i
total 12
403978635 -rw-r--r-- 1 root root 0 Jan 18 10:45 ?
403978629 -rw-r--r-- 1 root root 0 Jan 18 10:45 ???
136614872 drwxrwxr-x 15 testusr testusr 4096 Oct 24 11:40 applications
956987 drwxrwxr-x 13 testusr testusr 4096 Oct 24 11:52 bin
473150356 drwxr-xr-x 6 testusr testusr 165 Jan 18 10:45 freeware
403978637 -rw-r--r-- 1 root root 0 Jan 18 10:45 ??j?6??r?,0ʏ?????QY??5?
1870038 drwxrwxr-x 4 testusr testusr 4096 Jan 4 15:30 logs
202248742 drwxrwxr-x 2 testusr testusr 84 Oct 25 11:34 sbin
473121881 drwxrwxr-x 4 testusr testusr 37 Oct 24 10:41 tomcat
[testusr@test-server ~]$ find -inum 403978635 -delete
[testusr@test-server ~]$ ll
total 12
-rw-r--r-- 1 root root 0 Jan 18 10:45 ???
drwxrwxr-x 15 testusr testusr 4096 Oct 24 11:40 applications
drwxrwxr-x 13 testusr testusr 4096 Oct 24 11:52 bin
drwxr-xr-x 6 testusr testusr 165 Jan 18 10:45 freeware
-rw-r--r-- 1 root root 0 Jan 18 10:45 ??j?6??r?,0ʏ?????QY??5?
drwxrwxr-x 4 testusr testusr 4096 Jan 4 15:30 logs
drwxrwxr-x 2 testusr testusr 84 Oct 25 11:34 sbin
drwxrwxr-x 4 testusr testusr 37 Oct 24 10:41 tomcat
[testusr@test-server ~]$ find -inum 403978629 -delete
[testusr@test-server ~]$ ll
total 12
drwxrwxr-x 15 testusr testusr 4096 Oct 24 11:40 applications
drwxrwxr-x 13 testusr testusr 4096 Oct 24 11:52 bin
drwxr-xr-x 6 testusr testusr 165 Jan 18 10:45 freeware
-rw-r--r-- 1 root root 0 Jan 18 10:45 ??j?6??r?,0ʏ?????QY??5?
drwxrwxr-x 4 testusr testusr 4096 Jan 4 15:30 logs
drwxrwxr-x 2 testusr testusr 84 Oct 25 11:34 sbin
drwxrwxr-x 4 testusr testusr 37 Oct 24 10:41 tomcat
标签:Jan,testusr,10,--,乱码,drwxrwxr,Oct
From: https://www.cnblogs.com/baishier/p/17263780.html