Skip to main content

Add the -v flag to see what rm is deleting

When deleting large directories or anything with wildcards, it’s tricky (and annoying!) to tell if anything is happening, or if the process has got stuck.

But rm supports a -v flag for “verbose”, so it shows you the files as they get removed:

$ rm -v *
helloworld.txt