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

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -