[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Feature request: install package by passing URL to apt-get



Hi Didier,

On 6/24/2022 4:36 AM, didier gaumet wrote:
Le jeudi 23 juin 2022 à 16:27 -0400, Bijan Soleymani a écrit :
rm wrongfile

how do I undelete?

better put deleted files in the "recycling box" and prompt users on
every deletion by default

rm -rf /

oops!

sigh...

Bijan
Hello,

Please open a new thread when you have a question, do not answer to another one's post to ask it :-)

I have never used it but basically just use commands from the trash-cli package instead of rm.

I definitely appreciate all the helpful replies I received, but my message was mainly a comment and not a request for help.

My point was that Unix/Linux has a lot of sharp edges where the user can hurt themselves if not careful.

And when doing system administration tasks it is routine to run commands under sudo (and sudo caches the password).

And then if you do:
sudo rm -rf $x/$y and x and y are not defined...

Or you mean to format a bootable usb and use: dd but end up with the wrong output device...

Anyways it was meant as a response to op, who said:
On 6/23/2022 12:03 PM, Person the human wrote:

The easier something is to do, the more harmless people will think it is, so you're right. Thanks.

To me anytime you need to use su or sudo to do something, you should not think it is harmless, no matter how simple or easy.

Bijan


Reply to: