When I type
ss -atur I get lots of connections, but most are destined for
localhost and I don't really care about those.
How can I filter the output to not show connections with destination
ss -atur '(dst ne localhost)' but get
Error: an inet prefix is expected rather than "(dst".. Without the parentheses I get
ss: bison bellows (while parsing filter): "syntax error!" Sorry..
The best I can do is pipe to grep, but that has no way of distinguishing
localhost in source vs destination (without a complex regex pattern).