how to edit this txt file. using cli commands
5 192.168.1.14 open 22/tcp
6 192.168.1.14 open 443/tcp
7 192.168.1.14 open 53/tcp
8 192.168.1.14 open 80/tcp
i used this commands : awk '{print $6 "\t" $2, "\t" $4}' | sort -k1 | cat -n
into this >
5 192.168.1.14 open 22/tcp 443/tcp 53/tcp 80/tcp
thanks in advance.