How do you do a dry run of rm to see what files will be deleted?
141
votes
4
answers
92287
views
I want to see what files will be deleted when performing an
rm
in linux. Most commands seem to have a dry run option to show just such information, but I can't seem to find such an option for rm
. Is this even possible?
Asked by Cory Klein
(19341 rep)
Feb 7, 2011, 08:09 PM
Last activity: Jan 1, 2025, 01:51 PM
Last activity: Jan 1, 2025, 01:51 PM