linux
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
linux [2023/01/11 10:31] – roger | linux [2023/01/11 10:33] (current) – [Print the first column of a string] roger | ||
---|---|---|---|
Line 163: | Line 163: | ||
</ | </ | ||
+ | ==== Print a full string in lowercase or uppercase ==== | ||
+ | |||
+ | <code bash> | ||
+ | echo "This Is A CaPiTaLiZeD String" | ||
+ | # Output: "this is a capitalized string" | ||
+ | |||
+ | echo "This Is A CaPiTaLiZeD String" | ||
+ | # Output: "THIS IS A CAPITALIZED STRING" | ||
+ | </ |
linux.txt · Last modified: 2023/01/11 10:33 by roger