rm chap0[1234] will delete all of the following files. [code] chap01 chap02 chap03 chap04[/code]

rm chap0[1234] will delete all of the following files.
Code:
   chap01  chap02  chap03  chap04
A. True
B. False
 
Answer: a
Explanation: We can frame restrictive patterns with the character class. The character class comprises a set of characters enclosed by the rectangular brackets, [ and ], but it matches a single character in the class. For example, the pattern [abcd] is a character class that can match a single character – an a, b, c or d. Similarly, we can combine the character class with any string or any other wildcard expression. Hence, the command rm chap0[1234] will delete chap01 chap02 chap03 chap04.
 

Tìm kiếm

Back
Top