4

In my centos7, I tried to put scl enable devtoolset-8 bash command to ~/.bashrc but When I login in, processes of scl enable devtoolset-8 bash are started again and again until the process number reaches the user max process number.

So what should I do?

GOGO
  • 619
  • 2
  • 7
  • 17

1 Answers1

5

Solve it by using echo "source /opt/rh/devtoolset-8/enable" >> /etc/profile

GOGO
  • 619
  • 2
  • 7
  • 17