Files
2026-01-23 08:55:18 +01:00

12 lines
229 B
Bash
Executable File

#!/usr/bin/bash
if [ "$#" -ne 1 ] ; then
echo "Usage: $0 keywd"
fi
find -L $BIN_DIR -type f -iregex ".*${1}[^/]*" | awk -F'/' '{print $NF}'
find -L $SBIN_DIR -type f -iregex ".*${1}[^/]*" | awk -F'/' '{print $NF}'
exit 0