Ubuntu – sed command doesn't output properly
I'm stuck in using sed command. I try to get my network address using sed command. My host is like $ hostname -I 192.168.11.12 I want to get only "192.168.11." from the address above. I tried hostname -I | sed…