bashHow to convert string to lowercase
str="Some UPPER text"
echo "$str" | tr '[:upper:]' '[:lower:]'
ctrl + c
$str string we're going to convert to lowercase |
More of Bash
- Urlencode string in bash
- How to check if a string starts with a specific value
- Output italic text in console
- How to extract file extension
- Output bold text in console
- How to check if a command exists
- How to convert string to uppercase
- Binet's Formula in bash
- How to search and replace string in variable
See more codes...