Question
a.
-e
b.
-a
c.
-n
d.
-f
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. Which option is used for checking if the file exists or not?
Similar Questions
Discover Related MCQs
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
Q. Which of the following is performed by expr string handling’s function?
View solution
Q. The string to be worked upon is placed on the left of the colon when using expr string handling function.
View solution
Q. Which symbol is used for finding the length of the string?
View solution
Q. Which of the following pattern is used for extracting a substring using expr?
View solution
Q. expr is an _____ command.
View solution
Q. ____ statement is used for shifting arguments left.
View solution
Q. Which one of the following is an internal command?
View solution
Q. Which symbol is used with the set command for command substitution?
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!