|
you could try using grep directly; do a man grep and that should give you enough info; as far as the locate is concerned, you have to update your slocate database before using that command, use updatedb command for updating the database(it'll take some time depending on the HDD size) and then locate <filename> should do it!
|