How does a case statement look in shell scripts?
Answer / chaitanya
case {variable} in {possible-value-1}) {statement};; {possible-value-2}) {statement};; esac
| Is This Answer Correct ? | 0 Yes | 0 No |
What’s a way to do multilevel if-else’s in shell scripting?
How do you list currently running process?
How do you find out the current directory you’re in?
How do you define a function in a shell script?
How do you refer to the arguments passed to a shell script?
How do you read keyboard input in shell scripts?
How do you do number comparison in shell scripts?
How do you stop a process?
How do you count words, lines and characters in a file?
What’s the command to find out users on the system?
How do you search for a string inside a directory?
How do you search for a string in a directory with the subdirectories recursed?