Mercurial > repo
view bin/cmd @ 7540:395d3ff3f755
<Melvar> ` chmod +x bin/jq
author | HackBot |
---|---|
date | Tue, 26 Apr 2016 15:06: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