Use == operator with bash if statement to check if two strings are equal. ... #!/bin/bash. read -p "Enter first string: " str1.
確定! 回上一頁