view bin/cmd @ 8098:7a3c984b2539

<oerjan> learn admn is the curse of people with cdop.
author HackBot
date Mon, 23 May 2016 01:07:47 +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