-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi friends... I have a trouble when try to export variables... I write a script like this: - -------------- test.sh ------------------ export MY_VAR="SOME_VALUE" echo "$MY_VAR" - -------------- test.sh ------------------ later: chmod +x test.sh then run this script: ./test.sh ... everything looks OK :) but when try to use this variable in my environment I can't do, if write "env" the nev variable MY_VAR doesn't appear ... I think that there are some protection about export variables, but how do I can export variables?
I'm using red hat 7.3 thanks - -- Linux User Registered #232544 my GnuPG-key at www.keyserver.net --- rm -rf /bin/laden --- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+MO+xs4dF9gl05swRApKYAJ0TmE/LvroRvx9BFMgYxZkHP9vNnACeKYkH PbQvNbrsquCZ0dSrEJXxsC4= =EQRI -----END PGP SIGNATURE----- - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs