1. What does this do? if [sy-eq0]; then echo "No arguments" fi 2. What does this do? if [ "Sname" = "Bro" ]; then echo "
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
1. What does this do? if [sy-eq0]; then echo "No arguments" fi 2. What does this do? if [ "Sname" = "Bro" ]; then echo "
1. What does this do? if [sy-eq0]; then echo "No arguments" fi 2. What does this do? if [ "Sname" = "Bro" ]; then echo "Welcome back bro!" fi 3. Explain the difference between -eq and = in the previous 2 questions. 4. What does this do? if [ "Sword1" = " Sword2" ]; then echo "They match" else echo "The are different" fi 5. What does echo "Error!" 1>82 do? 6. What does bash −x do? 7. What does this do? for x do echo 5x done 8. What do the while and until constructs do? 9. How are the while and until constructs different? 10. What is the purpose of the case construct?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!