What is in if condition in Unix?

What is in if condition in Unix?
Answer
The if statement executes command and determines if it exited successfully or not. If so, the “consequent” path is followed and the first set of expressions is executed. … The command can be a separate binary or shell script, a shell function or alias, or a variable referencing any of these.
 

Tìm kiếm

Back
Top