#!/bin/bash while [ 1 ]; do netstat | grep -v "localhost:" sleep 1 && clear done