What environment variables do I need to know about when kdb starts up?
Here are several environment variables used by q during initialization:
- $QLIC
- $QHOME
- %WinDir% (only on w32 and w64 OS)
- $QINIT
- $LINES
- $COLUMNS
- $LD_LIBRARY_PATH for dynamic load 2:
You can read the value of any environment variable with the getenv function:
q)getenv `PATH<br /> “/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:..<br /> q)