title: Sanitize environment with command or bash script?
body: <p>In Bash shell, I want to sanitize the environment as the first thing when running with a command.  </p>
  
  <p>I want to unset all the environment variables and only set the ones that are critical for the shell to function, plus the ones the ones needed by my script to complete it's task. </p>
  
  <p>Is there a way to do this in a simple and clean way?</p>