Unix & Linux: How to search and extract string from command output? (2 Solutions!!)

Published --