Grep Exact Match
To only display the exact match, use the -w
option with grep pattern.
Example
$ ip a | grep -w inet
Source: StackOverFlow
To only display the exact match, use the -w
option with grep pattern.
$ ip a | grep -w inet
Source: StackOverFlow