13 Sep
2020
13 Sep
'20
12:06
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 # Must be the wrong incantation, because 'mc' does find instances of '/usr/sbin', although not relevant. #export EDITOR=/usr/bin/vim #if [ -x /usr/bin/fortune ] ; then # echo # /usr/bin/fortune # echo #fi -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)