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
- How to assign an output of a command to a variable
- How to check if a string starts with a specific value
- Quickly create big file
- How to extract file extension
- How to extract file name
- Binet's Formula in bash
- Urlencode string in bash
- Output italic text in console
- Output bold text in console
See more codes...