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 ,我怀疑是不是被人种后门了. 看操作过程,
bash-2.05# pwd
/export/home/root
bash-2.05# ls -lah
total 480
drwxr-xr-x 2 root other 512 Apr 30 13:21 .
drwxr-xr-x 10 root root 512 Apr 30 13:26 ..
bash-2.05# gunzip rsync-2.5.6.Solaris251.sparc.tar.gz
gunzip: rsync-2.5.6.Solaris251.sparc.tar.gz: not in gzip format
bash-2.05# du -h
241K .
bash-2.05# cp rsync-2.5.6.Solaris251.sparc.tar.gz ../temp/rsync.tar.gz
bash-2.05# cd ../temp/
bash-2.05# ls -lh
total 480
bash-2.05# du -h
241K .
bash-2.05# mv rsync.tar.gz 11.tar.gz
bash-2.05# ls
11.tar.gz
bash-2.05# ls -lha
total 480
drwxr-xr-x 2 root other 512 Apr 30 13:30 .
drwxr-xr-x 10 root root 512 Apr 30 13:26 ..
-rw-r--r-- 1 root other 227K Apr 30 13:30 11.tar.gz
bash-2.05# mv 11.tar.gz rsync.tar.gz
bash-2.05# ls -lh
total 480
bash-2.05# du -h
241K .
bash-2.05# ls -lah
total 480
drwxr-xr-x 2 root other 512 Apr 30 13:31 .
drwxr-xr-x 10 root root 512 Apr 30 13:26 ..
bash-2.05#
复制代码
各位有什么高招处理这种情况??
作者:
foolishfox
时间:
2005-07-09 18:58
标题:
自动隐藏的不可见的文件, ls -lah 不可见.why ??
请问你最后是怎么解决的?
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2