On 13/09/2020 16.14, Dave Howorth wrote:
On Sun, 13 Sep 2020 14:06:54 +0200 "Carlos E. R." <robin.listas@telefonica.net> wrote:
On 13/09/2020 13.55, Per Jessen wrote:
Dave Howorth wrote:
err, you'll need to look in the subdirectories as well, and you'll need to inspect the various dot files like .bashrc
Maybe there's a clever way to do it, but my brain hurts thinking about it.
find <alltopdirs> -type f | xargs grep '/usr/sbin'
Telcontar:/etc/skel # find * -type f | xargs grep '/usr/sbin' Telcontar:/etc/skel #
* != <alltopdirs>
I already said there are dot files. Some of them are directories as well.
$ find /etc/skel -type f | xargs grep '/usr/sbin'
Telcontar:~ # find /etc/skel -type f | xargs grep '/usr/sbin' Telcontar:~ # Same result. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)