How do I find log files?
Answer
For searching files, the command syntax you use is
grep [options] [pattern] [file]
, where “pattern” is what you want to search for. For example, to search for the word “error” in the log file, you would enter grep ‘error’ junglediskserver. log , and all lines that contain”error” will output to the screen.
Answer
For searching files, the command syntax you use is
grep [options] [pattern] [file]
, where “pattern” is what you want to search for. For example, to search for the word “error” in the log file, you would enter grep ‘error’ junglediskserver. log , and all lines that contain”error” will output to the screen.