On 1/14/24 17:27, Greg Wooledge wrote:
On Sun, Jan 14, 2024 at 05:00:09PM -0500, gene heskett wrote:
On 1/14/24 11:10, Arno Lehmann wrote:
Gene,
Am 14.01.2024 um 16:56 schrieb gene heskett:
On 1/14/24 04:58, David Christensen wrote:
find . -xdev -iname '*filter*'
gene@coyote:/etc$ sudo find . -xdev -iname '*filter*'
why sudo, and why in /etc ?
/etc only because I was there and sudo to get around a whole passel of no
permissons.
I thought find was global. Its not? My mistake then.
The arguments after find which don't begin with "-" are the starting
point(s). In this case, your command asks find to start in "." which
is the current directory.
If you were to run something like
find /tmp /var -iname '*.log'
then it would look for pathnames ending with .log (case-insensitive)
starting in /tmp and /var.
.
I see. I grew into linux 26 years ago, using locate but you have to
updatedb first if you want the current state. I should use find more
often, its realtime.
Thanks Greg.
Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis