$ ifconfig | grep -A 4 enp0
Issue the ifconfig command to see your network settings
Pipe the output to the grep command as input
Run the grep command on this input using the -A or “After” expression
The -A expression can use a number argument here we are using 4 – 4 lines after
The string we are looking for is “enp0”
Manjaro uses ip a or ip -c a