Skip to main content
added 93 characters in body
Source Link
Chris Down
  • 130.3k
  • 26
  • 277
  • 268

export puts the variable in the program environment, which is propagated to forked processes. If you want any processes you launch to know about the new location, you need to export it (although if it is already exported, you don't need to use export again, but it does no harm to do so).

The answerIf you want to be totally sure, export it. If it is probably yesalready in your environment, though, you do not need to do it again.

export puts the variable in the program environment, which is propagated to forked processes. If you want any processes you launch to know about the new location, you need to export it (although if it is already exported, you don't need to use export again, but it does no harm to do so).

The answer is probably yes.

export puts the variable in the program environment, which is propagated to forked processes. If you want any processes you launch to know about the new location, you need to export it (although if it is already exported, you don't need to use export again, but it does no harm to do so).

If you want to be totally sure, export it. If it is already in your environment, though, you do not need to do it again.

Source Link
Chris Down
  • 130.3k
  • 26
  • 277
  • 268

export puts the variable in the program environment, which is propagated to forked processes. If you want any processes you launch to know about the new location, you need to export it (although if it is already exported, you don't need to use export again, but it does no harm to do so).

The answer is probably yes.