env
显示当前的环境变量。
格式
env
说明
[root@sylixos:/root]# help env
show current environment.
vars
[root@sylixos:/root]#
此命令用来查看当前环境变量。
env命令和vars命令功能用法完全相同。base工程部署后会有一个env内置应用程序,功能类似但不完全相同,会掩盖env内置命令被调用。
样例
[root@sylixos:/root]# env
variable show >>
VARIABLE REF VALUE
-------------------- --- --------------------------------------------------
QT_QPA_FONTDIR /qt/lib/fonts
QT_QPA_PLATFORM sylixosfb
QT_QPA_PLATFORM_PLUGIN_PATH /qt/plugins
QML2_IMPORT_PATH /qt/qml
QML_IMPORT_PATH /qt/qml
QT_QWS_FONTDIR /qt/lib/fonts
QT_PLUGIN_PATH /qt/plugins
POINTERCAL_FILE /etc/pointercal
QWS_KEYBOARD sylixosinput
QWS_MOUSE_PROTO sylixosinput
QWS_DISPLAY sylixosfb:/dev/fb0
QPEDIR /qt
QTDIR /qt
XINPUT_PRIO 199
DISPLAY /dev/fb0
TERM_PS_COLOR
TERMCAP /etc/termcap
TERM vt100
LUA_CPATH ?.so;/usr/local/lib/lua/?.so;/usr/lib/lua/?.so;/lib/lua/?.so
LUA_PATH ?.lua;/usr/local/lib/lua/?.lua;/usr/lib/lua/?.lua;/lib/lua/?.lua
VPROC_MODULE_SHOW 0
VPROC_EXIT_FORCE 0
LOGINBL_REP 3
LOGINBL_TO 120
DEBUG_CRASHTRAP 0
DEBUG_CPU -1
PATH_LOCALE /usr/share/locale
LC_ALL
LANG C
LD_LIBRARY_PATH /qt/lib:/qt/lib:/qt/lib:/qt/lib:/qt/lib:/qt/lib:/qt/lib:/usr/lib:/lib:/usr/local/lib
PATH /usr/bin:/bin:/usr/pkg/sbin:/sbin:/usr/local/bin
NFS_CLIENT_PROTO udp
NFS_CLIENT_AUTH AUTH_UNIX
SYSLOGD_HOST 0.0.0.0:514
KERN_FLOAT 1
SO_MEM_DIRECT 0
SO_MEM_PAGES 8192
TSLIB_CALIBFILE /etc/pointercal
TSLIB_TSDEVICE /dev/input/touch0
MOUSE /dev/input/touch0:/dev/input/mse0
KEYBOARD /dev/input/kbd0
STARTUP_WAIT_SEC 1
TZ CST-8:00:00
TMPDIR /tmp/
LICENSE SylixOS license: Commercial & GPL.
VERSION 2.3.8
SYSTEM SylixOS kernel version: 2.3.8 Code name: Enterprise