Re: glob path question

2024-08-21 Thread tomas
On Wed, Aug 21, 2024 at 09:44:34AM -0400, Cindy Sue Causey wrote: [...] > All these years of using ls and locate myself, just had an ah-ha moment > triggered by the above. Tried my favored (cognitively friendly) grep: [...] Glad you enjoyed it :-) > PS Yeah, I know, some directories go very de

Re: glob path question

2024-08-21 Thread Cindy Sue Causey
Please forgive any formatting glitches. I'm still a brand newbie at sending emails out of Evolution. :) On Wed, Aug 21, 2024 at 8:08AM Michael Kjörling wrote: > > But this file is not listed by 'ls' command. > > > > # ls /etc/policyd-spf.conf > > ls: cannot access '/etc/policyd-spf.conf': No such

Re: glob path question

2024-08-21 Thread tomas
On Wed, Aug 21, 2024 at 02:00:02PM +0200, Corey H wrote: > 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.c

Re: glob path question

2024-08-21 Thread Michael Kjörling
On 21 Aug 2024 14:00 +0200, from cor...@free.fr (Corey H): > 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 >