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

  • google app store apple app store
  • ✖

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