I need help with my Linux laboratories. Does anybody know a combination of command complies with this exercise?
Look at the output of /sbin/ifconfig. Write a line that only displays IP address and the subnet mask. (use head; grep; tr -s; cut; )
This what is what I got so far:
/sbin/ifconfig | grep -w "inet"