Change to bash behaviour

Magnus Runesson mr-ubuntu at linuxalert.org
Sat Oct 23 19:37:05 UTC 2004


Put an alias for rm in your .bashrc in your home directory.

alias rm='rm -i'

BR
/Magnus

On Sat, 2004-10-23 at 12:07 -0700, Darren Critchley wrote:
> On my redhat systems, when I want to delete something using the command 
> line or copy something and overwrite, bash always asks me y/n if I want 
> to do this.
> 
> I would like this functionality in Ubuntu, could someone please point me 
> in the right direction, I assume it is a bash setting.
> 
> Thanks
> Darren
> 
> 
> 

-- 
Magnus Runesson <mr-ubuntu at linuxalert.org>
Linuxalert





More information about the ubuntu-users mailing list