Following are the commands to set and list environment variables:
- env
- Used to list all environment variables/values
- env var
- Used to get value for var
- env var val
- Used to set value for var
- env var=val
- Used to set value for var
- env var=$val
- Used to set value for var, using python expansion if possible
Vitis [1]: env XILINX_VITIS
Out[1]: '/tools/Xilinx/Vitis/2023.1'