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
- Binet's Formula in bash
- How to get time in "YYYY-MM-DD HH:II:SS" (year-month-date hour:minute:second) format
- How to get date in "YYYY-MM-DD" format
- How to extract file extension
- Output bold text in console
- How to count all lines in all files recursively
- Urlencode string in bash
- Output italic text in console
- Check if file exists
- Change permissions using chmod in bash
See more codes...