FG
💻 Software

`alias rm="rm -i"` considered harmful?

Fresh5 days ago
Mar 15, 202612633 views
Confidence Score0%
0%

Problem

I have read some time ago (can't find the reference) that using such an alias as was very bad. Is there historical evidence or common sense explanation for that fact? I would imagine that it gives a user a bad habit of relying on the confirmation prompt to check his command, which could lead to dis…

Error Output

alias rm="rm -i"

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: `alias rm="rm -i"` considered harmful?

Low Risk

You're right. It's bad because you get used to it. If you're on a system that doesn't have it, and you , it immediately starts deleting and you're wondering what's going on. Many users are used to SSH'ing into different systems; so using lots of dif…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment