1.

Wildcards are special characters which are used to replace or represent one or more characters.(a) True(b) FalseI got this question in an interview for job.My enquiry is from Pattern Matching, Escaping and Quoting in division The Shell of Unix

Answer»

Right choice is (a) True

To explain: A WILDCARD is a SPECIAL character which can be used as a substitute for any of a class of characters, which increases the flexibility and efficiency of searching and replacing. For example, to remove all the files with a FILENAME starting with ‘CHAP’ prefix, we can use the COMMAND rm chap*. Here * is used as a wildcard for matching all filenames starting with ‘chap’.



Discussion

No Comment Found

Related InterviewSolutions