bashHow to convert string to lowercase
str="Some UPPER text"
echo "$str" | tr '[:upper:]' '[:lower:]'ctrl + c$strstring we're going to convert to lowercase |
More of Bash
- How to check if a string starts with a specific value
- How to get time in "HH:II:SS" (hour:minute:second) format
- Binet's Formula in bash
- Quickly create big file
- Output bold text in console
- Change directory permissions recursively using chmod in bash
- How to get time in "YYYY-MM-DD HH:II:SS" (year-month-date hour:minute:second) format
- How to extract file name
- How to extract file extension
- Urlencode string in bash
See more codes...