Program to use conditional statements in Linux
Q. Conditional statements को दर्शाने के लिये शैल programming लिखिये।Ans.Bash में निम्लिखित कंडीशनल स्टेटमेंट्स है –<![if !supportLists]> 1) <![endif]> if..then..fi statement (Simple If)<![if !supportLists]> 2) <![endif]> if..then..else..fi statement (If-Else)<![if !supportLists]> 3) <![endif]> if..elif..else..fi statement (Else If ladder)<![if !supportLists]> 4) <![endif]> if..then..else..if..then..fi..fi..(Nested … Read more