Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 970  / 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
;