Question
a.
if
b.
else
c.
for
d.
if and else
Posted under UNIX
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. To perform decision depending on the fulfilment of certain criteria, ____ is used.
Similar Questions
Discover Related MCQs
Q. Every if is closed with a corresponding ____
View solution
Q. To check more than two conditions, ___ is used with if-else statements.
View solution
Q. The name of the script is stored in which special parameter?
View solution
Q. Which of the following is not a special parameter used by the shell?
View solution
Q. To know the exit status of a command, we can use ____
View solution
Q. Which one of the following option is used for checking that the string is not null?
View solution
Q. We can use test to test various file attributes.
View solution
Q. Which option is used for checking if the file exists or not?
View solution
Q. Which of the following option is used for checking if the file is readable or not?
View solution
Q. Which of the following option is used for checking if the file is writable or not?
View solution
Q. To check if the file exists and is executable we have to use ___ option with test.
View solution
Q. -d option is used for checking if the file exists and is a directory.
View solution
Q. ____ option is used for checking whether a particular file is older than a specified file.
View solution
Q. To check if two files are linked to each other, we can use -ef option.
View solution
Q. case statement should have a corresponding closing esac.
View solution
Q. The ___ option in case statement matches any option not matched by the previous options.
View solution
Q. case can also be used for matching multiple patterns.
View solution
Q. case can also use wildcards to pattern matching.
View solution
Q. Which command is used for computation and string handling?
View solution
Q. expr can perform ____ arithmetic operations.
View solution
Suggested Topics
Are you eager to expand your knowledge beyond UNIX? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!