Package: dlocate
$ man dlocate
pattern...
List all records where either the package name or the filename
matches pattern.
Add: Note that throughout this man page, "filename" means full path, not
just
the filename at the end.
OPTIONS
--filename-only
Only output file names when searching for files.
Add: Note, this includes directory names, just not package names.
And perhaps add an additional function to exclude directories.
P.S.,
NAME
dlocate - program to view debian package information
No need to say "program to".