Re: [Hampshire] XP built for qemu

Top Page

Reply to this message
Author: Sean Gibbins
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] XP built for qemu
hantslug@??? wrote:
> Al - You spent a phenomenal amount of time on my husband's computer yesterday,
> and I am truly grateful.
>
> Unfortunately I am running into quite a few problems, the worst of which is
> that I can't remember the path to the crucial files - and therefore can't
> find them. :-(
>
> If anyhone else can remember (John?) I would be most grateful for a prod.
>
> TIA
> Lisi


Hi Lisi,

How about:

find <path> -name <file>

... where <file> can be a filename or part thereof plus wildcard(s), and
where the <path> component can be /usr or /etc if you now the file in
question is /somewhere/ in there, or it can be '/' if you want to start
at the top and work down.

For example (a daft one I know):

root@bender:~# find /etc -name pass*d
/etc/pam.d/passwd
/etc/passwd

-or-

root@bender:~# find / -name pass*d
/var/tmp/etc/pam.d/passwd
/var/tmp/etc/passwd
/var/tmp/etc/webmin/passwd
/usr/share/doc/passwd
/usr/share/doc/dialog/examples/password
/usr/share/doc/openssl/doc/apps/passwd.pod
/usr/share/lintian/overrides/passwd
/usr/share/linda/overrides/passwd
/usr/share/passwd
/usr/share/squirrelmail/plugins/gpg/modules/passpop.mod
/usr/bin/passwd
/etc/pam.d/passwd
/etc/passwd

HTH,

Sean

PS I have just seen your reply, so one to file away for next time maybe!