adplus-dvertising
frame-decoration

Question

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

a.

determine the length of string

b.

extract a substring

c.

locate the position of a character in a string

d.

determine the length of string, extract and locate the position of the string

Posted under UNIX

Answer: (d).determine the length of string, extract and locate the position of the string

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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

Similar Questions

Discover Related MCQs

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.

Q. Any command using standard input can take the input from here document.

Q. ____ command is the appropriate way to interrupt a program.

Q. Suppose x =10, then what will be the value of x$x$?

Q. Given x=10 then,

x$x$ == $x$x.

The given statement is ____

Q. A shell script stopped running when we change its name. Why?

Q. Where is the exit status of a command stored?

Q. Which of the following is false ?

Q. test statement cannot ______

Q. ____ option is used with test for checking if the file exists and has the size greater than zero.

Q. Every time shift command is used, the leftmost variable is lost.