List file using ls command in Linux with full path

前端 未结 13 1730
星月不相逢
星月不相逢 2020-12-24 01:02

Many will found that this is repeating questions but i have gone through all the questions before asked about this topic but none worked for me.

I want to print full

13条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-24 01:25

    You can use

      ls -lrt -d -1 "$PWD"/{*,.*}   
    

    It will also catch hidden files.

提交回复
热议问题