3 ms·
Go do a fresh install of CentOS/RHEL (or just spin up a new docker container) and what do you see in root's bashrc? alias rm='rm -i' alias cp='cp -i'
by Macha 6y ago
Go do a fresh install of CentOS/RHEL (or just spin up a new docker container) and what do you see in root's bashrc?
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
I've also encountered one job which adds this to their base ubuntu image, and my current employer uses Macs which have it added to bashrc by their mdm software on initial install.
So what's your justification to dismiss the idea that this is a common practice?
- matthewbauer 6y agoAliases shouldn't be run in non-interactive shells IIRC.
- jfrunyon 6y agoI wasn't dismissing the idea that it was common practice, I was dismissing the idea that the common practice applied in my case. I did not have an IT department setting anything on my system when I experienced this. Thank you for the info, though.