Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

uppercase first str bash

foo="bar"
echo "$(tr '[:lower:]' '[:upper:]' <<< ${foo:0:1})${foo:1}"
#returns 'Bar'
Comment

PREVIOUS NEXT
Code Example
Shell :: linux stderr in strout umleiten 
Shell :: EFS mounting on EC2 Instances 
Shell :: install brave browser for kali linux 
Shell :: vscode .ps1 is not digitally signed 
Shell :: start adb exe manually if necessary 
Shell :: installing through requiirements file 
Shell :: vim replace word with copied 
Shell :: jenkins pipeline for sonarqube 
Shell :: how to set minimum char for variable in powershell from user input 
Shell :: grub rescue commands linux 
Shell :: vdi to ProxMox 
Shell :: sed remove line 
Shell :: cpickle 
Shell :: upgrade ndoe 
Shell :: install pghero in rds postgresql 
Shell :: bat to delete all ".trashed" files in subfolders 
Shell :: npm react js package for form factor responsive site development 
Shell :: fat-free migration 
Shell :: script to delete a range of history in terminal mac 
Shell :: grep output of two commands 
Shell :: Solidus getting started 
Shell :: pvoznyuk github 
Shell :: autocompletion not working in root on kali 
Shell :: how to resolve failing tests after database migration 
Shell :: goodix debug linux 
Shell :: connect 1password cli to 1pass 
Shell :: r install packages ERROR exporting to client 
Shell :: installing kubens on ubuntu 
Shell :: windows git bash gradle bad characters 
Shell :: fslmaths invert masking 
ADD CONTENT
Topic
Content
Source link
Name
9+3 =