Quantcast
Channel: Commands tagged column sorted by votes
Viewing all articles
Browse latest Browse all 28

Show complete URL in netstat output

$
0
0
$ netstat -tup -W | column -t

The -W switch of netstat makes it print complete URL of the connections, which otherwise by default

is truncated to fit its default column size.

Now to compensate for irregular column sizes, pipe the output to column (-t switch of column prints in tabular form). The only downside to this part is that the very first row, the header, goes pear shape.

commandlinefu.com

by David Winterbottom (codeinthehole.com)


Viewing all articles
Browse latest Browse all 28

Trending Articles