What is the grep syntax?
grep {"searched\_string"} {text\_file}
How to count occurances of a string with grep?
-c
<br></br>
[root@prhq-pan-a pan]# grep -c "RX" mp-monitor.log 42
What is a regular expression?
sequence of symbols and characters expressing a string or pattern to be matched within a longer text
What represents start of a string?
^
<br></br>
^root