view bin/cmd @ 7737:3fa0d4e06b88

<moon_> ` echo $target just lost an leg! >> share/maimery
author HackBot
date Wed, 04 May 2016 00:50:02 +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