I tried to use
grep to match one pattern on the terminal, but n
o any result comes out.
$ grep -R 'networks' grep: warning: recursive search of stdin
grep on macOS is based on BSD while
grep on Ubuntu is based on GNU.
How to make 'grep' work on macOS like in Ubuntu?