I have a file full of similar strings, which look like this:
Code:
Port::Ifindex.34
Port::Ifindex.452
Port::Ifindex.3
Port::Ifindex.9999
etc
How to cut everything other than the number after "."?
The output should be
I don't mind reading myself, but I haven't found any good tutorial about cutting with awk. Or if someone gives an direct answer, then small explanation would be nice or additional examples