經安全檢測,此網站為安全網站,請放心前往原始網址!

linux - Can a shell script set environment variables of the calling shell? - Stack Overflow

I'm trying to write a shell script that, when run, will set some environment variables that will stay set in the caller's shell. setenv FOO foo in csh/tcsh, or export FOO=foo in sh/bash ...

stackoverflow.com

網址安全性掃描由 google 提供