Describe the issue briefly
I am getting the right operating system name.
But, when I run the shell script, it outputs the else condition.
I am failing to understand why this is happening.
How much time have you spent debugging this issue?
(Please spend at least 15 minutes to resolve the issue on your own before posting a new topic here)
More than an hour already spent. I couldn’t debug.
What is your hypothesis?
Maybe using the command wrong?