1 2 3 4 5
if chmod ${SHELL_FILEMODE} "/${SHELL_FILENAME}" 2>/dev/null; then echo "### 000" else echo "### 500" fi