📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!


    âš¡ Month End Offer - Flat 52% Off On All Courses! Enroll Now âš¡
    00:00:00 AM Left

    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
    ask-question