请问在shell里面输入set为什么会出现一大堆字符

sh/bash/dash/ksh/zsh等Shell脚本
回复
wave900309
帖子: 1
注册时间: 2011-10-15 13:53

请问在shell里面输入set为什么会出现一大堆字符

#1

帖子 wave900309 » 2013-03-03 20:55

不是应该出现环境变量的吗?跟env一样才对吧,我是看鸟哥的书看到的
附件
QQ截图20130303204851.png
(11.38 KiB) 尚未被下载
头像
枫叶饭团
帖子: 14683
注册时间: 2010-06-16 1:05
系统: Mac OS X
来自: Tencent
联系:

Re: 请问在shell里面输入set为什么会出现一大堆字符

#2

帖子 枫叶饭团 » 2013-03-03 22:03

If no options or arguments are specified, set shall write the names and values of all shell variables in the collation sequence of the current locale.
回复