Home > OS >  The use of the rm
The use of the rm

Time:10-09

How to use the rm to delete in digital at the end of the Linux file

CodePudding user response:

Cp - rf * num

CodePudding user response:

 rm - rf * [0-9] 

CodePudding user response:

refer to the second floor Garenliu response:
 rm - rf * [0-9] 
delete the file at the end of the current directory number,
 rm - rf * [[: digit:]] 
, like this can also be,,
  • Related