Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash uppercase string

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'
 
PREVIOUS NEXT
Tagged: #bash #uppercase #string
ADD COMMENT
Topic
Name
2+6 =