> > Is there a command equivalent to "env" to check all
> > available environment variables?
>
> env may be available as part of recent busybox versions; I know there
> was a patch for it.  Also, ash should give you a report with the 'set'
> command:
>
> # set
>
> Hope this helps!

Thanks for the info Dave.  It appears on Dachstein we have "set" and
"printenv".  On my LRP box, when ran from multicron-p set outputs:

set: lrp_SC_MINKB=-1
lrp_SC_MAIL_LEVEL=2
lrp_DATE_SERVER=time.nrc.ca
HOME=/root
lrp_LOGS_DAILY=daemon.log debug kern.log messages syslog user.log               ppp.log
pslave.log
rc=1
prog=multicron-p
lrp_LOGS_DEPTH=4
SP=
OIFS=

PS1=#
OPTIND=1
lrp_MAIL_SERVER=shawmail.cg.shawcable.net
PS2=>
x=18
h=shaw.ca
lrp_SC_MINPER=2
LOGNAME=root
MIN=3
[EMAIL PROTECTED]
MAX=18
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
lrp_LOGS_WEEKLY=auth.log lastlog
lrp_SPACECHECK=NO
lrp_SC_DEL_L1=/var/log/*[4-9].gz
SHELL=/bin/sh
SLEEP=10
lrp_SC_DEL_L2=/var/log/*[1-3].gz
lrp_SC_DEL_L3=/var/log/*.gz
IFS=

lrp_SC_DEL_L4=/var/log/*.0
lrp_PING_HOSTS=google.com shawcable.tucows.com shaw.ca
lrp_SC_DEL_L5=/var/log/wtmp
PWD=/root
lrp_LOGS_MONTHLY=wtmp
TAB=

and printenv dumps:
printenv: HOME=/root
LOGNAME=root
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
SHELL=/bin/sh
PWD=/root

Not sure why printenv dumps a small subset of set's output?  Looks like set
is definitely the more informative command.

Paul


_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to