Write a script to print to compare two strings "Linux" and "Unix".
1
Expert's answer
2021-10-26T14:18:33-0400
# Write a script to print to compare two strings "Linux" and "Unix".
lhs="Linux"
rhs="Unix"
if [ "$lhs" == "$rhs" ]; then
echo Strings are equal
else
echo String are not equal
fi
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment