view bin/cmd @ 7509:b3aeda44f9ca

<oerjan> complain Also, Gregor is never here to fix his bots.
author HackBot
date Tue, 19 Apr 2016 23:34:01 +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