我是个unix新手,用turbolinux遇到一问题,请教各位 我想删掉一个名为“test\”,用rm命令却怎么也删不掉,请各位指教,谢谢! 错误信息如下: [root@turbo /root]# ls -l total 12 -rw-r--r-- 1 root root 0 Mar 8 13:30 collectdiag.tar -rw-r--r-- 1 root root 10669 Mar 8 16:27 test\ [root@turbo /root]# rm test\ >; rm: cannot remove `test': No such file or directory
(用的人后果自负!本人概不负责!) find /opt/var/ -type f -exec rm -f {} \; 将 /opt/var/ 可能是 十几万的文件删除, 如果用 rm 则无法成完大文件批量的作法。 ~~说明~~ 在unix有些目录中,如果有很多文件,比一个目录如超过6万多个文件时,使用rm * 是无法删除的,因为shell需要把*翻译成这个目录下的每个文件名,在翻译的过程中 如果匹配到的文件名字太多,则SHELL就放弃这次操作。 可以通过如下命令删除 find /va...
删除较大文件或目录,系统就会提示: PANIC:HTFS:Free block 32379958 epi freed on HTFS dev hd(1/42) cannot dump 262023 pages to dumpdev hd (1/41): space for only 131072 pages Dump not complete. Notice:Flushing cache on the IBM PC ServerPAID adapters. wait... NOtice:Flushing complete. 然后系统关机。 df -vi显示磁盘空间: blocks used free used ifree ...