Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

bash lowercase

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'
Comment

bash variable lowercase

# In Bash 4.0
a=DHCP
echo "${a,,}"
# Output:
dhcp
Comment

PREVIOUS NEXT
Code Example
Shell :: git log all branches 
Shell :: install torch 1.7.1 
Shell :: Count subdirectories within a directory 
Shell :: remove commits from github 
Shell :: github add image to readme 
Shell :: ssh command delete file 
Shell :: uninstall mongo db 
Shell :: display/search for a commit hash name in a git log 
Shell :: unable to find docker images locally 
Shell :: bash find text in specific file 
Shell :: socket.io-client 
Shell :: Adding local user to Docker group 
Shell :: make nextcloud scan for files 
Shell :: powershell select unique 
Shell :: get ip address in powershell specifically 
Shell :: hide desktop icons macos 
Shell :: shell one line for loop 
Shell :: install radeon drivers ubuntu 
Shell :: upgrade ubuntu command line 
Shell :: icon theme and widget ubuntu 
Shell :: merge develop to branch 
Shell :: cmp in linux 
Shell :: git clone https 
Shell :: hello world 
Shell :: docker run always puull 
Shell :: how to change users in ubunut terminal 
Shell :: ubuntu see date of last modification to file 
Shell :: git delete remote branch 
Shell :: find all .desktop files linux 
Shell :: html2canvas 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =