User Tools

Site Tools


docu:csheet:sysadm:script:bash:grep_displayonly

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

docu:csheet:sysadm:script:bash:grep_displayonly [2020/03/23 08:40]
admin created
docu:csheet:sysadm:script:bash:grep_displayonly [2020/03/23 08:41] (current)
admin
Line 1: Line 1:
 ==== Use grep text to only highlight it showing original text ==== ==== Use grep text to only highlight it showing original text ====
 <code bash> <code bash>
-tcpdump -iany -nn -XX host 172.22.13.69 | grep --color -E 'waf0|$'+a_long_text_command | grep --color -E 'YOURSEARCH|$'
 </code> </code>
docu/csheet/sysadm/script/bash/grep_displayonly.1584952824.txt.gz · Last modified: 2020/03/23 08:40 by admin