Carlos E. R. 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'
find /etc/skel /etc/dir1 /dir2 /dir3 /whatever -type f | xargs grep '/usr/sbin' alltopdirs = those dirs where you expect to find scripts or config that might influence PATH -- Per Jessen, Zürich (25.2°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org