#!/bin/bash echo -n "Enter a string " read theString lower=`echo "$theString" | tr "[:upper:]" "[:lower:]"` echo "You entered $theString" echo "Lower case: $lower"