Aliasing rm to rm -i for sudo

Matthew S-H mathbymath at aol.com
Mon Jun 20 20:04:23 UTC 2005


On Jun 20, 2005, at 11:32 AM, Markus Kolb wrote:
> Matthew S-H wrote on Mon, Jun 20, 2005 at 10:24:47 -0400:
>> try adding:
>> alias "sudo rm"="sudo rm -i"
>
> That's an invalid alias name. "sudo rm" can't be a command.

Works fine for me...  Can anyone else confirm this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050620/4c1c4c79/attachment.html>


More information about the ubuntu-users mailing list