adplus-dvertising
frame-decoration

Question

test and [ ] can be used for string comparison.

a.

True

b.

False

c.

May be

d.

Can't say

Posted under Shell Programming UNIX

Answer: (a).True

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. test and [ ] can be used for string comparison.

Similar Questions

Discover Related MCQs

Q. Which one of the following option is used for AND operation?

Q. Which one of the following option is used for checking that the string is NULL string?

Q. ____ statement matches an expression for more than one alternative.

Q. Every pattern in case statement in terminated with a _____

Q. For locating the first position of a character in a string we can use expr command.

Q. Which of the following commands let us perform a set of instructions repeatedly?

Q. Which of the following keywords are used in while loop?

Q. until loop operates with a reverse logic as used in while loop.

Q. Which one of the following is used for looping with a list?

Q. Which of the following loop statements uses do and done keyword?

Q. Which command is used for changing filename extensions?

Q. Which command is used by the shell for manipulating positional parameters?

Q. Which of the following option is used with set for debugging shell scripts?

Q. The system administrator is also known as _____

Q. Which of the following functionalities is carried by the root user?

Q. What is the login name of system administrator?

Q. What is the prompt for system administrator?

Q. When we log in as root user we are placed in ____

Q. The PATH for superuser doesn’t include current directory.

Q. Which command is used for acquiring superuser status?