Bash / sed: lowercasing first character of a string Sep 2, 2010 • Noel Say you want to convert a string in bash from "QuakerOats" to "quakerOats", use sed as follows: echo "QuakerOats" | sed 's/\(.\)\.*/\L\1/' Done.