Thursday, July 14, 2016

Shell Script Basic Code Examples(2)

Smiley face

Code:IfElse

Smiley face Smiley face

Output:

Smiley face

Note

For second method

Smiley face

Code:Nested IfElse

Smiley face Smiley face

Output:

Smiley face

Note

Can use "elif" for "else if"

No comments:

Post a Comment

Wel Come !!! computer express