ЁЯУв Too many exams? DonтАЩt know which one suits you best? Book Your Free Expert ЁЯСЙ call Now!

  • google app store apple app store
  • тЬЦ

      Question

      Extended globbing in bash

      allows:
      A Advanced regex inside scripts Correct Answer Incorrect Answer
      B Case conversion of variables Correct Answer Incorrect Answer
      C String slicing with substring indices Correct Answer Incorrect Answer
      D Pattern-based filename matching with operators like @(pattern) Correct Answer Incorrect Answer
      E Arithmetic evaluation Correct Answer Incorrect Answer

      Solution

      Extended globbing (enabled with shopt -s extglob) allows advanced pattern matching, e.g., ls !(*.txt) excludes .txt files.

      Practice Next
      More Shell Scripting Questions
      ask-question