want to find out how many times a word (say foo or an IP address) occurs in a text file using the grep command
on Linux or Unix-like system?
ow do I use grep command on Linux or Apple macOS/OS X? How can I use grep command on Unix operating systems? Can you give me a simple examples of the grep command?