Corey H
2024-08-21 12:10:01 UTC
Hi
I use this command trying to find a file in /etc whose name contains
"spf",
***@cloud:~# cd /etc/
***@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.
I use this command trying to find a file in /etc whose name contains
"spf",
***@cloud:~# cd /etc/
***@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.