What is the way to do multilevel if-else's in shell scripting?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Shell Script Interview Questions

What is the difference between running a script as ./scriptname.sh and sh scriptname.sh

1 Answers  


What are script files?

0 Answers  


What is bash used for?

0 Answers  


How do I start a shell script?

0 Answers  


Print a given number, in reverse order using a shell script such that the input is provided using command line argument only.

0 Answers  






write a scwipt that a) takes exactly one argument, a directory name. b) if the number of argument is more or less than one,print a usage message c) if the argument is not adirectory, print another message d) for the given directory, print the five biggest files and the five files that were most recently modified. e) save the output to a file called q2output.

2 Answers  


Why is the use of shell script?

0 Answers  


give me some website where i can get unix and testing meterials

1 Answers  


I want to create a directory such that anyone in the group can create a file and access any person's file in it but none should be able to delete a file other than the one created by himself.

0 Answers  


Write a shell program to test whether a given number is even or odd?

8 Answers  


determine the output of the following command: echo ${new:-variable}

0 Answers  


Given a file find the count of lines containing the word "abc".

0 Answers  


Categories