File: netstat.sh

package info (click to toggle)
icewm 3.9.0-2
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 14,248 kB
  • sloc: cpp: 75,834; ansic: 2,532; makefile: 1,546; sh: 564; perl: 430; xml: 193; python: 84
file content (8 lines) | stat: -rwxr-xr-x 85 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
#!/bin/sh

if test -x /bin/ss
then
	exec watch -t ss -putsw
else
	exec netstat -c
fi