Mercurial > repo
view bin/cmd @ 7068:8999c7fb91ea
<oerjan> touch test2
author | HackBot |
---|---|
date | Wed, 02 Mar 2016 23:48:40 +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