Print specific line with awk


print first line with awk
ping -c 1 8.8.8.8 | awk 'NR==1'

print last line with awk
ping -c 1 8.8.8.8 | awk 'END { print }'

Ver consumo de disco do nós Simplivity

 1) Conectar, via SSH, em uma das OVCs utilizando a credencial "administrator@vsphere.local" 2) Executar os comandos abaixo:    - ...

Mais vistos