bash - Single command to remove files that have a '3' in them -
bash - Single command to remove files that have a '3' in them -
say have list of files numbered 1-50 , want remove ones have number '3' in them. how that?
perhaps you're looking globbing:
rm *3*
make sure check first harmless (like ls
).
can't imagine why need though.
bash command-line for-loop
Comments
Post a Comment