linux file environment variables code example Example: zsh list environment variables It sounds like you want env.