bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How not to inherit any environment variable from parent process?


From: Peng Yu
Subject: How not to inherit any environment variable from parent process?
Date: Tue, 22 Jun 2010 23:32:44 -0500

I use bash --noprofile to start a bash session. Since this doesn't
source any profile files, I'd think that no environment variable
should be set. But I still see environment variables set. Are they
inherit from the parent session. Is there a way to start a bash
session without using parent environment variables?

-- 
Regards,
Peng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]