请教-关于ls-l的日期显示问题
(2011-12-25 07:16:38)
标签:
杂谈
请教:关于ls-l的日期显示问题在一台SUN的机器上,用中文字符GBK登陆,DATE查看日期显示为中文,但ls-l显示文件时后面的日期却为英文,请问如查将期显示改为中文bash-2.05$
LANG=zh.GBK;export LANG
bash-2.05$ date
2006年11月03日 星期五 13时15分31秒 CST
bash-2.05$ ls -l
总数 143896
drwxr-xr-x15 feifan other 1024 10月 21 17:29 freeradius-1.1.3
-rw-r--r-- 1 feifan other 134553608月 22 23:51
freeradius-1.1.3.tar
-rw-r--r-- 1 feifan other 435640328月 31 22:27
mysql-5.0.24-sol9-sparc-local
-rw-r--r-- 1 feifan other 14707200 2004 7月 23
ncurses-5.4-sol9-sparc-local
drwxr-xr-x11 feifan other 1536 10月 27 14:42 proftpd-1.3.0
-rw-r--r-- 1 feifan other 1868706 2006 4月 16
proftpd-1.3.0.tar.gz
bash-2.05$多谢!理肤泉那本次设置后重启就没有用了http://www.desiresblog.com,在什么文件中配置可以让其永远生效http://www.jz186.com的./etc/default/init你的LANG设置没有生效.root@erp-demo--/#bash
root@erp-demo--/#LANG=zh.GBK;export LANG
分享:
喜欢
0
赠金笔
加载中,请稍候......
评论加载中,请稍候...
发评论
登录名: 密码: 找回密码 注册记住登录状态
昵 称:
评论并转载此博文
发评论
以上网友发言只代表其个人观点,不代表新浪网的观点或立场。