how to compare a character to uppercase in bash script
Shell
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 Shell:
- Title
- powershell download a file from url
- Category
- Shell
- Title
- webpack uninstall npm
- Category
- Shell
- Title
- run sh from terminal mac
- Category
- Shell
- Title
- upgrade django
- Category
- Shell
- Title
- git push
- Category
- Shell
- Title
- tab to csv command line
- Category
- Shell
- Title
- netstat column headers
- Category
- Shell
- Title
- boolean constants in bash
- Category
- Shell
- Title
- documentation gitlab ci en francais
- Category
- Shell
- Title
- grep
- Category
- Shell
- Title
- how to install nvm in mac
- Category
- Shell
- Title
- kali linux change keyboard layout
- Category
- Shell
- Title
- /usr/local/share/doc/node is not writable.
- Category
- Shell
- Title
- luminati proxy manager
- Category
- Shell
- Title
- wheres i3 config file
- Category
- Shell
- Title
- set default java version
- Category
- Shell
- Title
- install jupyter
- Category
- Shell
- Title
- how to install mongoose
- Category
- Shell
- Title
- git remove tag from remote
- Category
- Shell
- Title
- how to revert to log in git
- Category
- Shell
- Title
- ubuntu install git
- Category
- Shell
- Title
- htaccess route to index.php
- Category
- Shell
- Title
- git bash set global username and password
- Category
- Shell
- Title
- install yarn
- Category
- Shell
- Title
- foreach powershell
- Category
- Shell
- Title
- install keras
- Category
- Shell
- Title
- haproxy in centos 7
- Category
- Shell
- Title
- linux rename
- Category
- Shell
- Title
- exit telnet
- Category
- Shell
- Title
- git remove remote
- Category
- Shell
- Title
- install npm globally
- Category
- Shell
- Title
- how to kill a process in linux
- Category
- Shell
- Title
- fcm post example curl
- Category
- Shell
- Title
- Data path ".builders['app-shell']" should have required property 'class'.
- Category
- Shell
- Title
- package 'mana-toolkit' has no installation candidate
- Category
- Shell
- Title
- powershell get arguments
- Category
- Shell
- Title
- ubuntu ram type
- Category
- Shell
- Title
- a2ensite example.
- Category
- Shell
- Title
- delete github repository curl
- Category
- Shell
- Title
- git credenttial.helper cmd
- Category
- Shell
- Title
- angular cli generate component
- Category
- Shell
- Title
- gparted ubuntu
- Category
- Shell
- Title
- clone a given branch github
- Category
- Shell
- Title
- gyp error npm install
- Category
- Shell
- Title
- shell hide tab
- Category
- Shell
- Title
- cmd prompt format
- Category
- Shell
- Title
- git config --global credential.helper osxkeychain
- Category
- Shell
- Title
- github show files changed git log
- Category
- Shell
- Title
- install putty on ubuntu
- Category
- Shell
- Title
- update to wsl2
- Category
- Shell
- Title
- linux find from file content
- Category
- Shell
- Title
- list directories recursively powershell
- Category
- Shell
- Title
- git show staged files
- Category
- Shell
- Title
- git find login
- Category
- Shell
- Title
- kubernetes copy files to persistent volume
- Category
- Shell
- Title
- install phpmyadmin ubuntu 18.04
- Category
- Shell
- Title
- create a repo using github api
- Category
- Shell
- Title
- rename remote branch in git
- Category
- Shell
- Title
- Error: Node Sass does not yet support your current environment
- Category
- Shell
- Title
- linux vim set tab to 4 spaces
- Category
- Shell
- Title
- docker getting-started
- Category
- Shell
- Title
- grep command
- Category
- Shell
- Title
- linux command to check memory usage in percentage
- Category
- Shell
- Title
- install vscode ubuntu command line
- Category
- Shell
- Title
- The repository 'https://download.docker.com/linux/ubuntu focal Release' does not have a Release file
- Category
- Shell
- Title
- find flutter version
- Category
- Shell
- Title
- mostrare i grafici matplotlib sulla shell python
- Category
- Shell
- Title
- git commit ignore eslint
- Category
- Shell
- Title
- gumlet/php-image-resize 1.9.2 requires ext-gd *
- Category
- Shell
- Title
- git reset hard
- Category
- Shell
- Title
- oh my zsh
- Category
- Shell
- Title
- how to uninstall npm package
- Category
- Shell
- Title
- improve ubuntu 16.04 performance
- Category
- Shell
- Title
- how to import microsoft.online sharepoint powershell
- Category
- Shell
- Title
- git config core.autocrlf true
- Category
- Shell
- Title
- node install specific version
- Category
- Shell
- Title
- remove directory linux
- Category
- Shell
- Title
- timedatectl
- Category
- Shell
- Title
- adding remote origin git
- Category
- Shell
- Title
- how to link a repo to a project on github
- Category
- Shell
- Title
- error: eaccess: permission denied ionic
- Category
- Shell
- Title
- add all files in directory to git
- Category
- Shell
- Title
- npm install bootstrap
- Category
- Shell
- Title
- git merge branch
- Category
- Shell
- Title
- linux select pages from pdf
- Category
- Shell
- Title
- remove systemd service
- Category
- Shell
- Title
- bash string starts with
- Category
- Shell
- Title
- how to get divided number in mac terminal
- Category
- Shell
- Title
- set up git with github
- Category
- Shell
- Title
- desktop trigger click bash shell ubuntu
- Category
- Shell
- Title
- how to move file in directory in linux
- Category
- Shell
- Title
- statsmodels logit function
- Category
- Shell
- Title
- check upstream branch git
- Category
- Shell
- Title
- git undo pushed commit
- Category
- Shell
- Title
- install x centos 7
- Category
- Shell
- Title
- ubuntu passwordless sudo
- Category
- Shell
- Title
- ubuntu virtualbox 1920x1080
- Category
- Shell
- Title
- git diff two commits
- Category
- Shell
- Title
- install opencv
- Category
- Shell
- Title
- apache virtual host
- Category
- Shell