#!/bin/sh cd /proc ps auxw | grep apache2 | grep 'Rl' | sed -e 's/ \+/ /g' | \ cut -d' ' -f2 | egrep '[0-9]+' | xargs ls -l | grep cwd
It's Linux specific.
It's Linux specific.