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 |
exclude log | exclude 1.log 2.log , . . . exclude number log [t128@conductor ~]$ ls /var/log/128technology/ | egrep -v '[1-9]{1,4}' accessManager.log analyticsReporter.log audit auditdReceiver.log automatedProvisioner.log conflux.log databaseQueryCoordinator.log . . . |
General
Content
Integrations