1 2 3 4 5 6
#!/bin/sh if [ -x "$(which xfce4-power-manager)" ] then echo "found $(which xfce4-power-manager)" $(which xfce4-power-manager) fi