Saturday, May 18, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 974  / 2 Years ago, tue, january 18, 2022, 4:58:02

I want to make the command shell to prompt me for confirmation before execution of certain commands like dd , rm -rf etc.


More From » bash

 Answers
2

I think safe-rm will do the work



apt install safe-rm


Safe-rm is a safety tool intended to prevent the accidental deletion of important files.



$ rm -rf /usr
Skipping /usr

[#15662] Wednesday, January 19, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
intssive

Total Points: 493
Total Questions: 119
Total Answers: 101

Location: Liberia
Member since Mon, Feb 1, 2021
3 Years ago
intssive questions
Tue, Mar 21, 23, 08:19, 1 Year ago
Wed, Aug 31, 22, 04:04, 2 Years ago
Sat, Sep 25, 21, 15:09, 3 Years ago
Fri, Dec 31, 21, 09:13, 2 Years ago
;