What’s a way to do multilevel if-else’s in shell scripting?
Answer / chaitanya
if {condition} then {statement} elif {condition} {statement} fi
| Is This Answer Correct ? | 0 Yes | 0 No |
How do you find out the current directory you’re in?
How do you remove recursively?
How do you fire a process in the background?
How do you find out your own username?
How do you refer to the arguments passed to a shell script?
How do you do Boolean logic operators in shell scripting?
How do you stop a process?
How do you read keyboard input in shell scripts?
How do you test for file properties in shell scripts?
How do you search for a string in a directory with the subdirectories recursed?
What are PIDs?
How do you find out the number of arguments passed to the shell script?