Remove an environment variable Nov 8, 2021 • Ulysses How to remove an environment variable in Linux. <pre lang="bash"> unset AWS_PROFILE You can run env to validate if variable is still present. <pre lang="bash"> env