filter_out_unwanted_interfaces_using_grep
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
filter_out_unwanted_interfaces_using_grep [2023/11/09 23:03] – walkeradmin | filter_out_unwanted_interfaces_using_grep [2023/11/09 23:07] (current) – walkeradmin | ||
---|---|---|---|
Line 84: | Line 84: | ||
veth3d27dfa7@if2 UP | veth3d27dfa7@if2 UP | ||
</ | </ | ||
+ | \\ | ||
+ | However, we can use GREP to filter out the unwanted entries, in this example the biggest number of unwanted entries are the ' | ||
+ | \\ | ||
+ | \\ | ||
+ | <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | < | ||
+ | lo | ||
+ | eno1 | ||
+ | eno2 | ||
+ | eno3 | ||
+ | eno4 DOWN | ||
+ | internalk3s0 | ||
+ | kube-ipvs0 | ||
+ | flannel.1 | ||
+ | cni0 | ||
+ | </ | ||
+ | \\ | ||
+ | If we wish to go further, we can filter out the kube/ | ||
+ | \\ | ||
+ | \\ | ||
+ | <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | This will give us a list of just the physical interfaces: | ||
+ | \\ | ||
+ | < | ||
+ | lo | ||
+ | eno1 | ||
+ | eno2 | ||
+ | eno3 | ||
+ | eno4 DOWN | ||
+ | </ | ||
+ | \\ | ||
+ | \\ |
filter_out_unwanted_interfaces_using_grep.1699570996.txt.gz · Last modified: 2023/11/09 23:03 by walkeradmin