#!/bin/bash # doing this manually probably makes more sense :) if (! [ -d ~/bin/ ]; then mkdir ~/bin/; fi # create ~/bin/ if it doesn't already exist mv ~/localperl/* ~/bin/ # move the new perl install there