Sample Header Ad - 728x90

HPUX: where is the "environment" file to set the variables?

0 votes
1 answer
521 views
On Slackware Linux, when I want to set an environment variable I edit this file vim /etc/environment On Solaris11, I can set a PATH with nonstandard dirs with those commands(I test the commands in the path with ssh without using the user-environment option and works fine) svccfg -s svc:/system/environment:init setprop environment/PATH = astring: "/sbin:/bin:/usr/sbin:/usr/bin:/opt/gm/bin:/opt/gm/sbin:/usr/local/bin:/usr/local/sbin" svccfg -s svc:/system/environment:init refresh I still don't understand how to set a variable like this on Hp-ux, please don' answer edit /etc/PATH or edit /etc/profile because I had already tried it and doesn't work.
Asked by elbarna (13690 rep)
Jan 24, 2021, 10:32 PM
Last activity: Jan 27, 2021, 05:50 PM