view bin/cmd @ 7792:dbc906ace002

<moon_> mkx bin/blame//echo it was "$1"\'s fault! Punish them!
author HackBot
date Fri, 06 May 2016 00:25:08 +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