Bash String Tutorials
The following are the tutorials covering different concepts of strings with examples and detailed explanation.
Basics
- Bash – Initialize a String
- Bash – Print String to Console
- Bash – String Length
- Bash – Index of Substring in String
Checks
- Bash – Check if String is Empty
- Bash – Check If String Equals another String
- Bash – Check if String contains Substring
Manipulations
- Bash – Convert String to Lowercase
- Bash – Convert String to Uppercase
- Bash – Concatenate String
- Bash – Compare Strings
- Bash – Split String
- Bash – SubString
- Bash – Concatenate Variables to Strings
- Bash – Reverse String
- Bash – Replace Substring in String
Conclusion
In this Bash Tutorial, we have learnt what strings are in Bash, and different checks and manipulations we can do on strings, with well detailed tutorials.