adplus-dvertising
frame-decoration

Question

To check if the file exists and is executable we have to use ___ option with test.

a.

-e

b.

-f

c.

-x

d.

-w

Posted under UNIX

Answer: (c).-x

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. To check if the file exists and is executable we have to use ___ option with test.

Similar Questions

Discover Related MCQs

Q. -d option is used for checking if the file exists and is a directory.

Q. ____ option is used for checking whether a particular file is older than a specified file.

Q. To check if two files are linked to each other, we can use -ef option.

Q. case statement should have a corresponding closing esac.

Q. The ___ option in case statement matches any option not matched by the previous options.

Q. case can also be used for matching multiple patterns.

Q. case can also use wildcards to pattern matching.

Q. Which command is used for computation and string handling?

Q. expr can perform ____ arithmetic operations.

Q. Which of the following is performed by expr string handling’s function?

Q. The string to be worked upon is placed on the left of the colon when using expr string handling function.

Q. Which symbol is used for finding the length of the string?

Q. Which of the following pattern is used for extracting a substring using expr?

Q. expr is an _____ command.

Q. ____ statement is used for shifting arguments left.

Q. Which one of the following is an internal command?

Q. Which symbol is used with the set command for command substitution?

Q. The ____ allows us to read data from the same file containing the script.

Q. Which of the following command doesn’t accept a filename as an argument?

Q. We can use the here document with interactive programs also.