Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »




windows bash / ubuntu
reg expression with grep
lonking for all the interface in a configuration file:
the pattern is: ge-x/x/x or xe-x/x/x  but only starting the line


grep "^    [gx]e-[0-9]/[0-9]" Config_Only.txt


Count the number of line

grep "^    [gx]e-[0-9]/[0-9]" Config_Only.txt  | wc -l

















  • No labels