Editing Grep
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 19: | Line 19: | ||
Search for a pattern: TEXT="OTHER_TEXT" | Search for a pattern: TEXT="OTHER_TEXT" | ||
− | * <code> | + | * <code>grep -o 'TEXT="\w*"' index.html</code> |
Search for a pattern: TEXT="OTHER _TE XT" including spaces: | Search for a pattern: TEXT="OTHER _TE XT" including spaces: | ||
Line 34: | Line 34: | ||
− | * <code> | + | * <code>grep .</code> |
− | * <code> | + | * <code>grep -I</code> (Ignore binary files) |
* <code>[[grep -c]]</code> | * <code>[[grep -c]]</code> | ||
* <code>[[grep -r]]</code>. Related commands: [[PAN-OS]]: <code>show log system [[direction equal backward]]</code> | * <code>[[grep -r]]</code>. Related commands: [[PAN-OS]]: <code>show log system [[direction equal backward]]</code> |
Advertising: