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 :: cp folder ubuntu include git 
Shell :: how to steal stolen deleted code... from github... 
Shell :: journalctl tial 
Shell :: mac of hide "upgrade now" 
Shell :: github workflow bash argument variable 
Shell :: bash sort strings by frequency 
Shell :: microstack no internet connection 
Shell :: docker compose No protocol specified could not connect to display :1 
Shell :: ubuntu 20 install lib32ncurses5 
Shell :: give all privileges to single player minetest 
Shell :: whatsapp download linux 
Shell :: Check all memory details 
Shell :: list python versions bash 
Shell :: how to download openssh with cmd 
Shell :: how add access user to docker linux 
Shell :: ngrok with netcat 
Shell :: change sshd config 
Shell :: npm vs yarn Haven’t Changed 
Shell :: bash return length of every nth row 
Shell :: github push master 
Shell :: how to run sudo without password 
Shell :: untar gz file 
Shell :: how to create a junction between folders 
Shell :: powershell find in history 
Shell :: list usb devices 
Shell :: How to check the Redis version? 
Shell :: WSL 2 requires an update to its kernel component. 
Shell :: mv is a Unix command and I think you are using windows. You have 2 options: Installing Git bash and in the bash use mv command. Using Windows move command. 
Shell :: list git config 
Shell :: command prompt cd back 
ADD CONTENT
Topic
Content
Source link
Name
5+1 =