List file using ls command in Linux with full path

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

    This prints all files, recursively, from the current directory.

    find "$PWD" | awk /.ogg/ # filter .ogg files by regex
    find "$PWD" | grep .ogg  # filter .ogg files by term
    find "$PWD" | ack .ogg   # filter .ogg files by regex/term using https://github.com/petdance/ack2
    

提交回复
热议问题