Get the newest file based on timestamp

前端 未结 7 2004
半阙折子戏
半阙折子戏 2020-12-15 12:00

I am new to shell scripting so i need some help need how to go about with this problem.

I have a directory which contains files in the following format. The files a

相关标签:
7条回答
  • 2020-12-15 12:31

    Try:

    $ ls -lr
    

    Hope it helps.

    0 讨论(0)
提交回复
热议问题