view bin/cmd @ 7958:1b123be3bfed

<oerjan> ` le/rn "hfs//"`hfs`
author HackBot
date Sun, 08 May 2016 02:56:11 +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