Ben Chuanlong Du's Blog

It is never too late to learn.

Environment Variables in Shell

export

A new child process forked from a parent process does not inherit parent's variables by default. The export command marks an environment variable to be exported with any newly forked child processes and thus it allows a child process to inherit all marked variables.

unset

In [ ]:

Comments