useful scripts for bash