env question

Christopher Barry christopher.barry at rackwareinc.com
Tue Dec 7 21:12:55 UTC 2010


Hi,

I've tried doing:
#!/usr/bin/env - /bin/bash
and
#!/usr/bin/env -i /bin/bash

at the top of a script to clear out it's environment prior to running
it, but it throws an error.

Is there  a better way to accomplish what I'm trying to do?


Thanks
-C




More information about the busybox mailing list