InterviewSolution
Saved Bookmarks
| 1. |
When the pattern is not found in a file, grep command silently returns the prompt.(a) True(b) FalseThis question was posed to me in final exam.This is a very interesting question from grep command in chapter Filters using Regular Expressions of Unix |
|
Answer» RIGHT choice is (a) True The explanation: grep COMMAND is ALSO used as a filter for searching a pattern in a FILE. When the pattern is not found in the file, this command silently returns the prompt without displaying any diagnostic messages. For example, |
|