set -e final_path=/var/www/noalyss sudo rm -rf $final_path sudo su postgres -c "psql -l | grep \"\\" | awk '{print $1}' | xargs -l dropdb" sudo su postgres -c 'dropuser noalyss'