Comment Comment by robaato Bash tip I picked up from observation - always start a potential command with ## rm -rf some_dirThen if you accidentally press return before completing it hasn't happened.When you have reviewed and are sure it is correct, you recall and delete the hash to execute - simples! parent robaato 6 years ago
# rm -rf some_dir
Then if you accidentally press return before completing it hasn't happened.
When you have reviewed and are sure it is correct, you recall and delete the hash to execute - simples!