01 Apr

Show all network services listening on the system and their PID


netstat -tupl

16 Jan

Show all active network connections and their PID


netstat -tup

14 Dec

Create a command that will return the pid of the given command string..


#!/bin/sh