Life360 interview question

command to see used ports in linux