Set an environment variable or print all environment variables.
export [varname [ = value]]
varname |
Name of the variable to be set or printed. |
value |
The value to assign to the variable. |
This command sets an environment variable or prints all environment variables. The export and setenv commands without any variables are equivalent.
setenv is similar to export, except that export requires the equal sign to set a value, while setenv does not.
The following example sets the environment variable EDITOR to use vi editor.
(idb) export EDITOR /usr/bin/vi
Copyright © 2001-2011, Intel Corporation. All rights reserved.