In a terminal window how can I use the command locate
to only return results where the whole word is present.
For example, I was looking for all files related to GO lang. However, typing locate go
returns everything from actual GO files to something like algorithm.php for example.
Is there a way to get this command to return only results where the whole word matches?