#!/usr/bin/env bash s="HELLO" # ,, downcases all letters; , downcases only the first echo "${s,,}" echo "${s,}"
${s,,} downcases the whole string