linux中rm -f filesys.o fatsys *~

*~ 就是档案最后带~,例

nc10@your-5554c55be4 ~/tmp

$ ls

marksix.awk*

nc10@your-5554c55be4 ~/tmp

$ touch $(printf '%02d~ \n' {1..10})

nc10@your-5554c55be4 ~/tmp

$ ls

01~ 02~ 03~ 04~ 05~ 06~ 07~ 08~ 09~ 10~ marksix.awk*

nc10@your-5554c55be4 ~/tmp

$ rm -f *~

nc10@your-5554c55be4 ~/tmp

$ ls

marksix.awk*

nc10@your-5554c55be4 ~/tmp

$

nc10@your-5554c55be4 ~/tmp

$ touch $(printf 'fatsys%02d~ \n' {1..10})

nc10@your-5554c55be4 ~/tmp

$ ls

fatsys01~ fatsys03~ fatsys05~ fatsys07~ fatsys09~ marksix.awk*

fatsys02~ fatsys04~ fatsys06~ fatsys08~ fatsys10~

nc10@your-5554c55be4 ~/tmp

$ rm -f fatsys*~

nc10@your-5554c55be4 ~/tmp

$ ls

marksix.awk*

nc10@your-5554c55be4 ~/tmp

$

这样明白了吗? :)