view bin/cmd @ 8243:0421a66f740c

<shachaf> le/rn usual suspects/There are 3.99 usual suspects, but they\'re usually rounded up.
author HackBot
date Tue, 31 May 2016 19:42:25 +0000
parents ccc447c7c094
children 83a25804a4c6
line wrap: on
line source

#!/bin/bash
pid="$PPID"
[ -n "$1" ] && pid="$1"; cut -d "" -f 3 < /proc/$pid/cmdline