Skip to main content
replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/
Source Link

From @sr_'s link (How to get a clean environment in a ksh shell?How to get a clean environment in a ksh shell?), I looked up env, and you might want to try this:

env -i ./my-script.sh

From @sr_'s link (How to get a clean environment in a ksh shell?), I looked up env, and you might want to try this:

env -i ./my-script.sh

From @sr_'s link (How to get a clean environment in a ksh shell?), I looked up env, and you might want to try this:

env -i ./my-script.sh
Source Link
Kevin
  • 41.6k
  • 17
  • 90
  • 113

From @sr_'s link (How to get a clean environment in a ksh shell?), I looked up env, and you might want to try this:

env -i ./my-script.sh