bash program utilities, functions, etc