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