OSX – show environment vars of a running process

jenkins$ ps -wwE -p 38654 PID TTY TIME CMD 38654 ?? 67:40.42 /usr/bin/java -Dcom.sun.management.jmxremote -Xmx2048m -XX:MaxPermSize=512m -jar /Application /Jenkins/jenkins.war SHELL=/bin/bash TMPDIR=/var/folders/5f/qnywwqmx3h5fxnwlcssp2sr00000gn/T/ USER=jenkins __CF...

clip.exe

I wrote a utility called clip many years ago — you pipe output from a DOS program into it and it puts it on the clipboard. Then you can paste it somewhere. e.g. dir > clip I found a link to Copy Command Line Output to Windows Clipboard Directly. Turns out...