title: What is the maximum size of a Linux environment variable value?
body: <p>Is there a limit to the amount of data that can be stored in an environment variable on Linux, and if so: what is it?</p>
  
  <p>For Windows, I've found following <a href="http://support.microsoft.com/kb/830473" rel="noreferrer">KB article</a> which summarizes to:
    Windows XP or later: 8191 characters
    Windows 2000/NT 4.0: 2047 characters</p>