December2015 cs Q57

0. What will be the output of the following Unix command ? $rm chap0[1 - 3]

  • Option : A
  • Explanation :
    $rm chap0\[1 - 3\] Square bracket surround a choice for single character and hyphen(-) will separate the range of single character. Above command will remove chap 01 or chap 02 or chap 03 file. So, option (A) is correct.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *