Solaris根目录下无法执行ls -l命令
Solaris根目录下无法执行ls -l命令,一敲这个命令就卡住不动了,可以敲ls命令,其他目录下可以敲ls -l命令,执行无异常此现象发生之前,我将系统的简体中文字符环境改成了英文字符环境,然后重启的机器,和这个有关系吗?
求助,谢谢 估计跟根目录下哪个文件的状态有关吧?系统显示不出来该文件详细信息,卡住就表示一直在刷新,却刷不出来 根目录下有中文字符文件名的文件或文件夹?可以的话再切换回中文字符环境看看是否还有该问题,如果还有的话应该是和字符环境无关了。 谢谢楼上的两位,因为是公司的环境,大家都在测试,所以暂时没办法切换字符集了,等以后有机会再试,然后再来更新帖子,ls -l和ls有什么区别吗?如果是字符集原因或者是文件状态原因,那应该ls命令也无法返回结果才对啊 -bash-4.1$ ls -l
total 1049
lrwxrwxrwx 1 root root 9 11月 25日 14:18 bin -> ./usr/bin
drwxr-xr-x 6 root sys 9 11月 25日 14:17 boot
drwxr-xr-x 2 root root 4 11月 25日 14:12 cdrom
drwxr-xr-x 266 root sys 269 12月3日 13:56 dev
drwxr-xr-x 5 root sys 13 12月3日 13:56 devices
drwxr-xr-x91 root sys 188 12月3日 13:57 etc
drwxr-xr-x 3 root root 3 11月 25日 14:21 export
dr-xr-xr-x 1 root root 1 12月3日 13:56 home
drwxr-xr-x19 root sys 19 11月 25日 14:12 kernel
drwxr-xr-x14 root bin 302 11月 25日 15:05 lib
drwxr-xr-x 2 root root 4 12月3日 13:56 media
drwxr-xr-x 2 root sys 2 11月 25日 14:18 mnt
dr-xr-xr-x 1 root root 1 12月3日 13:56 net
dr-xr-xr-x 1 root root 1 12月3日 13:56 nfs4
drwxr-xr-x 3 root sys 3 11月 25日 17:48 opt
drwxrwxr-x 3 oracle oinstall 3 11月 27日 06:05 oradata
drwxr-xr-x 5 root sys 5 2012 9月 20 platform
dr-xr-xr-x80 root root 480032 12月3日 14:00 proc
drwx------ 2 root root 4 11月 25日 14:17 root
drwxr-xr-x 3 root root 3 11月 25日 14:19 rpool
lrwxrwxrwx 1 root root 10 11月 25日 14:18 sbin -> ./usr/sbin
drwxr-xr-x 5 root root 5 2012 9月 20 system
drwxrwxrwt 7 root sys 748 12月3日 13:58 tmp
drwxrwxr-x 3 oracle oinstall 3 11月 25日 16:49 u01
drwxr-xr-x 3 root root 3 11月 27日 05:55 u02
drwxr-xr-x34 root sys 46 11月 25日 17:48 usr
drwxr-xr-x40 root sys 47 11月 25日 15:25 var
-bash-4.1$
没有你说的问题。
页:
[1]