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


    Question

    In shell scripting, which symbol is used to redirect the

    standard output to a file, overwriting its contents?
    A >> Correct Answer Incorrect Answer
    B > Correct Answer Incorrect Answer
    C < Correct Answer Incorrect Answer
    D << Correct Answer Incorrect Answer
    E | Correct Answer Incorrect Answer

    Solution

    > redirects output to a file, replacing any existing content; >> appends instead.

    Practice Next
    More Shell Scripting Questions
    ask-question