bash uppercase string
Just use tr command to transform lowercase letters into uppercase as:
tr a-z A-Z < file.txt #transforms letters into uppercase in a file
echo 'HELLO' | tr A-Z a-z #Outputs: 'hello'echo "enter a char"
read c
if [[ $c == [A-Z] ]];
then
echo "upper"
elif [[ $c == [a-z] ]];
then
echo "lower"
else
echo "Digit or special symbols!"
fi
Also in C++:
- git see added files
- centos install copmposer
- sublime text download ubuntu
- what is gitlab
- install k3s on ubuntu
- how to restart the network in ubuntu
- git config global
- android logs for app on terminal
- gitignore for ue4
- find largest digit in a number
- linux get total linus off git project
- how to install wordcloud in python
- install elasticsearch
- git update branch from master
- gitignore a specific file
- use local image with minikube
- how to create a host driver in docker
- bash sum variable
- spotify ubuntu
- start running reactjs from shell vscode
- linux check which app is using network
- ubuntu 20.10 how to open zip file
- ftp command in linux
- uninstall vscode completely windows 10