[Email protected] ~]# df-i/boot/#查看inode编号 Filesystem inodes iused IFree iuse% mounted on /DEV/SDA1 1024064 1024026 1%/boot [[Email protected] ~] for i in {358..1024500}; Do Touch File$i;done [Email protected] ~]# df-i/boot #发现inode占满 Filesystem inodes iused IFree iuse% mounted on /DEV/SDA1 1024064 1024064 0 100%/boot [Email protected] ~]# Cd/boot [email protected] boot]# Touch 123.txt #创建文件无法成功 Touch:cannot Touch ' 123.txt ': No space left on device Method One: Use the For loop to delete files in a traditional way, but slowly [[Email protected] ~] for i in {950000..1024500}; Do RM-RF File$i;done #一点的删除 Method Two: Using the method of transmitting parameters to delete files quickly and efficiently [[email protected] boot]# LS File{400000..500000}|xargs rm the most effective method for transmitting parameters [[email protected] boot]# LL File{600000..700000}|xargs RM ll lists too many parameters to pass to RM Ls:cannot access file600000:no Such file or directory, RM is not recognized, so the Rm:invalid option--' W ' ls displays a separate file name in the Try ' rm--help ' for more information. Line delivery. Rm:invalid option--' W ' |