csatblogspotdotcom

Wednesday, November 26, 2008

echo出系统信息

echo $LANG (echo $LANGUAGE 在有的系统上可以) (系统字符编码)
ps. locale命令比"echo $LANG"显示的更全
echo $OSTYPE (操作系统名)
echo $PATH (环境变量)

Labels: ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home