This question already has an answer here:
- Full text search for man pages 3 answers
Recently I wanted to get info of
struct timespec a field of
lstat structure, but I couldn't get any. I tried
$ man timespec $ man -k timespec timespec: nothing appropriate.
After some time I went through man page of
clock_gettime for unrelated query and there I got to know the structure of
timespec. But this was accidentally. So
timespec word was present in man page of
clock_gettime but I was not able to search it.
So, I would like to know, how to search for a word in all manpages? or do a grep kind of search? Any hints?