edited by
2,215 views

2 Answers

1 votes
1 votes

ans is A

Square brackets can surround a choice of single characters (i.e., one digit or one letter) you’d like to match. For example, [Cc]hapterwould match either Chapter or chapter, but [ch]apter would match either capter or hapter. Use a hyphen (-) to separate a range of consecutive characters. For example, chap[1-3] would match chap1,chap2, or chap3.

But if escape sequence(\) is used then it literally matches with that after \

so $rm chap0\[1-3\] will remove 

Remove file chap0[1-3]

 

edited by
1 votes
1 votes
Escape character in front of the brackets removes their meanings.

 

Hence it just deletes a file named chap0[1-3]
Answer:

Related questions

2 votes
2 votes
1 answer
1
go_editor asked Aug 11, 2016
3,454 views
In Unix, the command to enable execution permission for file "mylife" by all is_____Chmod ugo $+$ X mylifeChmod a $+$ X mylifeChmod $+$ X mylifeAll of the above
2 votes
2 votes
1 answer
3
go_editor asked Aug 11, 2016
1,588 views
The character set used in Windows $2000$ operating system is$8$ bit ASCIIExtended ASCII$16$ bit UNICODE$12$ bit UNICODE
2 votes
2 votes
1 answer
4
go_editor asked Aug 9, 2016
2,594 views
Match the following w.r.t. programming languages $:$$\begin{array}{clcl} & \textbf{List – I} & & \textbf{List – II} \\ \text{(a)} & \text{JAVA} & \text{(i)} & \text...