What command will remove duplicate lines from a sorted file? 06/14/2017 – by Mod_GuideK 0 What command will remove duplicate lines from a sorted file? A. filter B. trim C. uniq D. wc SHOW ANSWERSCorrect Answer: C Explanation/Reference: Explanation: uniq – remove duplicate lines from a sorted file Download Printable PDF. VALID exam to help you PASS.