Filter last occurrence on file


filter last occurrence containing the DHCP string
tac /var/log/syslog | grep -m 1 'DHCP'

filter 3 lines between the last occurrence containing the err or warn string
tac /var/log/syslog | egrep -m 1 -C 3 'err|warn'

Install Veeam plugin Oracle linux

  Install Veeam plugin Oracle linux rpm -Uvh --nodigest --nofiledigest VeeamPluginforOracleRMAN-12.2.0.334-1.x86_64.rpm

Mais vistos