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 }'

Configuring Static Routes with ip commands

As a system administrator, you can configure static routes using the ip route command. ...

Mais vistos