1. What does this do? if [sy-eq0]; then echo "No arguments" fi 2. What does this do? if [ "Sname" = "Bro" ]; then echo "

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
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 "

Post by answerhappygod »

1 What Does This Do If Sy Eq0 Then Echo No Arguments Fi 2 What Does This Do If Sname Bro Then Echo 1
1 What Does This Do If Sy Eq0 Then Echo No Arguments Fi 2 What Does This Do If Sname Bro Then Echo 1 (328.27 KiB) Viewed 31 times
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!
Post Reply