1.

Double quotes are more permissive than single quotes and allow the evaluation of the $ and ` itself.(a) True(b) FalseI have been asked this question in homework.Query is from Pattern Matching, Escaping and Quoting in division The Shell of Unix

Answer»

The correct answer is (a) True

The best explanation: When a command ARGUMENT is enclosed in single quotes, the MEANING of all enclosed special characters is turned off. But when we enclose the same in double quotes, we cannot PROTECT the $ and ` (BACKQUOTE). For EXAMPLE,



Discussion

No Comment Found

Related InterviewSolutions