LIST="/usr/bin/python /usr/bin/python2 /usr/bin/python2.7" for var in ${LIST} ; do ln -fs "/mnt/us/python/bin/python2.7" "${var}" done