Time pass to be honest,may work as a reference later,I am not sure.
#!/bin/bash
# Create a new string
mystring="lets count the length of this string"
i=${#mystring}
echo "Length: $i"
Source:https://www.hostinger.in/tutorials/bash-script-example
No comments:
Post a Comment