Hi

I use this command trying to find a file in /etc whose name contains "spf",

root@cloud:~# cd /etc/

root@cloud:/etc# ls *spf*
policyd-spf.conf

But this file is not listed by 'ls' command.

# ls /etc/policyd-spf.conf
ls: cannot access '/etc/policyd-spf.conf': No such file or directory

instead it's located in a subdir of /etc,

# cd /etc/postfix-policyd-spf-python/
# ls policyd-spf.conf
policyd-spf.conf

it seems strange to me. does glob will search for subdir but won't return its path?

Thanks.

Reply via email to