check environment variable in linux code example Example: print environment variables linux ENV_VAR="hello world" printenv ENV_VAR