Skip to main content

All Questions

Tagged with
0 votes
1 answer
631 views

Exclamation Points - Is there a linux bash command to find and delete all directories named "!example" (and their contents)

I have searched and searched for an answer to this question, and I have used some of the answers I found in the past for finding and deleting large numbers of directories that are named by a certain ...
Brad's user avatar
  • 1
1 vote
1 answer
1k views

rm -rf / on a virtual machine?

So, this is probably a stupid question, but I'm genuinely interested. Would it be safe to recursively delete everything on a virtual machine from a command line, just for fun? I'd assume so, given ...
Addison Crump's user avatar
0 votes
2 answers
2k views

Why does `rm -rf`` silently fail?

[EDIT] Please don't waste your time reading my question below. It turns out my colleague is an idiot.. :) On my server I'm trying to remove a folder and all its subfolders with the usual rm -rf ...
kramer65's user avatar
  • 1,424
2 votes
1 answer
1k views

rm -r only files?

Is there an way to remove all the files from the current dir (recursively), keeping the directory structure?
Dmitry Isaev's user avatar