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
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:
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
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
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
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~(-:
---