Which symbol allows you to add content to the end of a file without erasing its current contents?

Basic of linux unix MCQs for PPSC, FPSC, NTS, and Pakistan government job tests. Select an option below, then read the explanation.

PPSCFPSCNTSPakistan govt jobs
Subject
Basic of linux unixsoftware-engineering-mcqs › basic-of-linux-unix
Published
9 Apr 2019
Last updated
28 May 2026

Browse all Basic of linux unix MCQs

Choose the correct answer

Explanation

Option A (>) is used to redirect output and overwrite the file. Option B (>>) appends output to the file instead of overwriting. Options C (<) and D (<<) are used for input redirection.

PakQuizHub — free MCQs and past papers for Pakistan government job tests. Content is for educational practice only.