Chinaunix

标题: 自动隐藏的不可见的文件, ls -lah 不可见.why ?? [打印本页]

作者: echo52    时间: 2005-04-30 14:22
标题: 自动隐藏的不可见的文件, ls -lah 不可见.why ??
说明:  rsync-2.5.6.Solaris251.sparc.tar.gz 在/export/home/root下是存在的,du -h 可以看出空间占用仍然在, 打ls命令再用tab键补全就出来了,但
ls -lha 却不可见,mv rsync-2.5.6.Solaris251.sparc.tar.gz   11.tar.gz 再 ls 就出来, 好象系统对rsync这个文件名敏感 , so ,我怀疑是不是被人种后门了.  看操作过程,



  1. bash-2.05# pwd
  2. /export/home/root
  3. bash-2.05# ls -lah
  4. total 480
  5. drwxr-xr-x   2 root     other        512 Apr 30 13:21 .
  6. drwxr-xr-x  10 root     root         512 Apr 30 13:26 ..
  7. bash-2.05# gunzip rsync-2.5.6.Solaris251.sparc.tar.gz

  8. gunzip: rsync-2.5.6.Solaris251.sparc.tar.gz: not in gzip format
  9. bash-2.05# du -h
  10. 241K   .
  11. bash-2.05# cp rsync-2.5.6.Solaris251.sparc.tar.gz ../temp/rsync.tar.gz
  12. bash-2.05# cd ../temp/
  13. bash-2.05# ls -lh
  14. total 480
  15. bash-2.05# du -h
  16. 241K   .
  17. bash-2.05# mv rsync.tar.gz 11.tar.gz
  18. bash-2.05# ls
  19. 11.tar.gz
  20. bash-2.05# ls -lha
  21. total 480
  22. drwxr-xr-x   2 root     other        512 Apr 30 13:30 .
  23. drwxr-xr-x  10 root     root         512 Apr 30 13:26 ..
  24. -rw-r--r--   1 root     other       227K Apr 30 13:30 11.tar.gz
  25. bash-2.05# mv 11.tar.gz rsync.tar.gz
  26. bash-2.05# ls -lh
  27. total 480
  28. bash-2.05# du -h
  29. 241K   .
  30. bash-2.05# ls -lah
  31. total 480
  32. drwxr-xr-x   2 root     other        512 Apr 30 13:31 .
  33. drwxr-xr-x  10 root     root         512 Apr 30 13:26 ..
  34. bash-2.05#

复制代码


各位有什么高招处理这种情况??
作者: foolishfox    时间: 2005-07-09 18:58
标题: 自动隐藏的不可见的文件, ls -lah 不可见.why ??
请问你最后是怎么解决的?




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2