in reply to how I can with perl script change path variable so that the changes remain with the system reboot?

Please see also Bash Startup Files:

"When Bash is invoked as an interactive login shell, or as a non-interactive shell with the --login option, it first reads and executes commands from the file /etc/profile, if that file exists. After reading that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and reads and executes commands from the first one that exists and is readable. The --noprofile option may be used when the shell is started to inhibit this behavior."

Regards, Karl

«The Crux of the Biscuit is the Apostrophe»

  • Comment on Re: how I can change path variable so that the changes remain with the reboot?

Replies are listed 'Best First'.
Re^2: how I can change path variable so that the changes remain with the reboot?
by zeus83 (Novice) on Jan 09, 2014 at 11:57 UTC
    Thank you all , I want to change only the contents of path with new content ($ TEMP, you can see it at the end of the code)