2 tags, formatting
source | link

I am currently trying to execute a script on CentOS.That runs every time a terminal is opened by any user. I tried placing the script in etc/profile.d/etc/profile.d and editing ~/.bashrc~/.bashrc. Didn't work properly. It only executes the script for only that particular user (root in my case) and not all users? What am I doing wrong here?

I am currently trying to execute a script on CentOS.That runs every time a terminal is opened by any user. I tried placing the script in etc/profile.d and editing ~/.bashrc. Didn't work properly. It only executes the script for only that particular user (root in my case) and not all users? What am I doing wrong here?

I am currently trying to execute a script on CentOS.That runs every time a terminal is opened by any user. I tried placing the script in /etc/profile.d and editing ~/.bashrc. Didn't work properly. It only executes the script for only that particular user (root in my case) and not all users? What am I doing wrong here?

1
source | link

Script not running on terminal startup

I am currently trying to execute a script on CentOS.That runs every time a terminal is opened by any user. I tried placing the script in etc/profile.d and editing ~/.bashrc. Didn't work properly. It only executes the script for only that particular user (root in my case) and not all users? What am I doing wrong here?