Re: "rm" alias which means it defaults to -f
On Sun, Apr 10, 2005 at 06:57:11PM +0100, J. Grant wrote:
> I wonder if someone could tell me the "rm" setting which means it
> defaults to -f is please?
> I would like to stop this alias.
Assuming you're using the bash shell:
Type 'alias rm' to see what 'rm' is currently aliased as.
Type 'unalias rm' to set 'rm' to it's default behaviour.
Type 'alias rm='rm -i' to set rm to interactive behaviour.
The files /etc/bash.bashrc, /etc/profile, ~/.bashrc, ~/.profile,
~/bash_profile, etc. are locations where this might be set. See 'man
bash' for more info.
--
Ron Peterson
Network & Systems Manager
Mount Holyoke College
http://www.mtholyoke.edu/~rpeterso
Reply to: