Which command allows you to display a file's content in increments of 24 lines?

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
7 Apr 2019
Last updated
28 May 2026

Browse all Basic of linux unix MCQs

Choose the correct answer

Explanation

The 'pg' command lets you view a file page by page, typically showing 24 lines at once. 'cat' outputs the entire file continuously, 'lp' sends the file to a printer, and '/p' is not a valid command for paging through files.

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