List file using ls command in Linux with full path

前端 未结 13 1672
星月不相逢
星月不相逢 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:34

    There is more than one way to do that, the easiest I think would be:

    find /mnt/mediashare/net/192.168.1.220_STORAGE_1d1b7
    

    also this should work:

    (cd /mnt/mediashare/net/192.168.1.220_STORAGE_1d1b7; ls | xargs -i echo `pwd`/{})
    

提交回复
热议问题