What is if in shell script?

Hương Trang

New member
What is if in shell script?
Answer
This block will
process if specified condition is true. If specified condition is not true in if part then else part will be execute. To use multiple conditions in one if-else block, then elif keyword is used in shell.
 

Tìm kiếm

Back
Top