I am trying to see whats the best way to extract the 3rd line from this command but i can't seem to get it
awk 'BEGIN{while("service ipsec status" | getline x) print x}'
I am trying to see whats the best way to extract the 3rd line from this command but i can't seem to get it
awk 'BEGIN{while("service ipsec status" | getline x) print x}'