view bin/cmd @ 7544:cd760113f09c

<tswett> mv wisdom/number{,s}
author HackBot
date Wed, 27 Apr 2016 03:20:06 +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