${a,}: bad substitution
var=hello #For Bash Version higher than 4.3.33 try these
echo ${var''} #Uppercase whole string
HELLO
echo ${var'} #Uppercase only first char of string
Hello
var2=BYE
echo ${var2,} #Lowercase whole string
bye
echo ${var2,,} #Lowercase only first char of string
bYE
echo $var | tr 'a-z' 'A-Z' #For lower versions of Bash just use tr command
HELLO
Also in C++:
- update composer on windows
- how to move from one to another drive in powershell
- react natibe debugger
- yarn install
- how to install unsigned drivers on windows 10
- fatal: unable to access 'https://gitlab.operasolutions.com/poc/jpm-demo.git/': SSL certificate problem: unable to get local issuer certificate
- chocolatey list installed
- bash loop over files with extension
- install laravel specific version using composer
- python3 pip install
- how to add an existing project to github
- github not showing my contributions
- install graphene federation
- how to install xfce kali linux
- how to install django on windows
- how to deactivate virtualenv
- ubuntu cleanup systemd journal
- git pull a specific sha
- update nodejs centos
- delete everything linux
- how to uninitialize git
- check user group console linux
- mongodb restart command ubuntu
- start bungeecord server