Re: find usage

2022-06-27 Thread Matt Graham via PLUG-discuss
On 2022-06-27 14:30, Brian Cluff via PLUG-discuss wrote: On 6/27/22 11:32, Michael via PLUG-discuss wrote: So I'm opening the directory I'm searching in a terminal and type: find Marriage . but it just gives me a listing of what is below '.' (I guess). What am I doing wrong? find . -name

RE: find usage

2022-06-27 Thread James Crawford via PLUG-discuss
Try find -name 'Marriage*' If you are in the directory it should be in, or 1 above it on your system. --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings:

Re: Password Protecting a Directory using .htaccess

2022-06-27 Thread JD Austin via PLUG-discuss
I just skimmed your email, but make sure selinux isn't causing you problems. The .htaccess file has to have the right context or the web server won't be able to access it. Check to see what context it has eg: *ls -lhZ* If it has a different context than the other files there it is likely the

Password Protecting a Directory using .htaccess

2022-06-27 Thread Keith Smith via PLUG-discuss
I wanted to password protect a directory. On it's face it is simple. Not for me today. Normal Steps 1) create the .htaccess in the appropriate directory and configure it properly. 2) create the .htpasswd file using the htpasswd command. 3) set permissions to both files to 644. So far so

Re: find usage

2022-06-27 Thread Brian Cluff via PLUG-discuss
Try: find . -name Marriage or find . | grep Marriage The first one will only match fines that are exactly names "Marriage" while the second one will match any files with "Marriage" as part of the name.  Both versions in this case are care sensitive. See the find man page for for variations

find usage

2022-06-27 Thread Michael via PLUG-discuss
I need to find out where I hopefully moved a file. So I'm opening the directory I'm searching in a terminal and type: find Marriage . but it just gives me a listing of what is below '.' (I guess). What am I doing wrong? -- :-)~MIKE~(-: ---