James Youngman wrote: > Tim Waugh wrote: > > Some Linux distributions have alias rm="rm -i" for root, and the way > > Alternatives: > # /bin/rm foo > # unalias rm > > I prefer the second. The alias becomes a handicap as soon as you > start to rely on it, especially in a heterogeneous environment.
Agreed. There is also \rm as a way to avoid the alias too. But then you start to see people write that into scripts because they think they need to. I prefer editing the root .bashrc file to remove those aliases on those systems that define them. Then they are gone and you don't have to worry about them anymore. Bob _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
