CS631 -- Advanced Programming in the UNIX Environment

Environment limitations

We often notice that resources are limited in one way or another. For example, we've seen the limitations on filenames or open file descriptors. Now consider the process environment:

  • How many variables can you place into the environment?
  • Is there a limit on how big the value of a single environment variable can be?
  • How does increasing either or both of these numbers affect the current process or any child processes created?

See also: sudo: unable to execute <command>: success

[Course Website]