ls -t | awk '{if(NR>16){print $0}}' |xargs rm -f就一行,自己琢磨吧~This article is under CC BY-NC-SA 4.0 license. Please quote the original link:https://www.liujason.com/article/161.html Like (1)