Guest
0
Q:

how to add regex to ls

# Use find with -maxdepth 1 to act as ls
# '' contain the regex
find . -maxdepth 1 -regex '*.png'
21

New to Communities?

Join the community