News for hackers. Stuff that matters.
Re:Use long flags when scripting (2013) by jfrunyon on Friday September 18, 2020 @04:40PM (#24521676)
Yeah... no. Also definitely not the case. If I actually am remembering it correctly then it's probably from Fedora circa FC5 or Ubuntu circa 6.06. Back when I was in school and had never touched Linux other than on my own computer.
Re:Use long flags when scripting (2013) by Macha on Friday September 18, 2020 @04:55PM (#24521804)
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?

Re:Use long flags when scripting (2013) by matthewbauer on Friday September 18, 2020 @05:01PM (#24521854)
Aliases shouldn't be run in non-interactive shells IIRC.
Re:Use long flags when scripting (2013) by jfrunyon on Tuesday September 22, 2020 @12:12AM (#24550758)
I 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.