按日期排序,并找到最近更新的一条

 

ls -lt | head -1

或者

lst -lrt | tail -1

 

posted @ 2020-02-21 17:28  hh9515  阅读(146)  评论(0)    收藏  举报