#!/bin/bash FOLDER="$1/update-alternatives/" mkdir ${FOLDER} update-alternatives --get-selections >> ${FOLDER}"list"