Using man I'm trying to find the Unix command line options to search a file name recursively. (the file may be present in directories inner to the current directory)
I execute...
man ls | grep "recur"
The output is...
list subdirectories recursively
Now I want to read the full sentence ? Or lets say 10 lines above this and 10 lines below this output. Is there some command ?
man ls | grep "recur" | head
and
man ls | grep "recur" | head
do not work. They give the same output.
Neither do...
head | man ls | grep "recur"
tail | man ls | grep "recur"
Help...
I execute...
man ls | grep "recur"
The output is...
list subdirectories recursively
Now I want to read the full sentence ? Or lets say 10 lines above this and 10 lines below this output. Is there some command ?
man ls | grep "recur" | head
and
man ls | grep "recur" | head
do not work. They give the same output.
Neither do...
head | man ls | grep "recur"
tail | man ls | grep "recur"
Help...