adplus-dvertising
frame-decoration

Question

The output of the following command is ______________.

$ echo ‘The special character $ echo hello and | ls chap*’

a.

undefined output

b.

erroneous

c.

hello

d.

The special character $ echo hello and | ls chap*

Posted under UNIX

Answer: (d).The special character $ echo hello and | ls chap*

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The output of the following command is ______________. $ echo ‘The special character $ echo hello and | ls chap*’

Similar Questions

Discover Related MCQs

Q. Double quotes are more permissive than single quotes and allow the evaluation of the $ and ` itself.

Q. Which of the following command will remove the file named * ?

Q. We can use the > symbol along with pipe in a command.

Q. What is the output of the following command?

$ wc -c *.c

Q. In a pipeline, the command on the left of | must use standard output and one on the right must use standard input.

Q. Which command saves one copy of character stream in a file and store the other to standard output?

Q. tee is an internal command.

Q. Which of the following is not true about tee command?

Q. Apart from its use in redirection, /dev/tty can also be used as an argument to some commands.

Q. Which of the following meta-character is used in command substitution?

Q. Command substitution is enabled in single quotes also.

Q. POSIX recommends the use of ____ instead of archaic `command ` for command substitution.

Q. Which of the following shell doesn’t support the command substitution using $ recommended by POSIX?

Q. Which symbol is used for assigning a value to variables?

Q. Which symbol is used for evaluation of variables?

Q. Which of the following is a correct initialization of variables to null strings?

Q. A variable can be removed using _____

Q. readonly command is used to protect a variable from reassignment.

Q. C shell uses which command for assigning values to variables?

Q. The variable assignment as x = 10 (whitespace on both sides of =) will work if we are not using C shell?