Which attribute is found in the seventh field of the /etc/passwd file?

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

Browse all Basic of linux unix MCQs

Choose the correct answer

Explanation

The /etc/passwd file contains user account information divided into fields separated by colons. The seventh field specifically indicates the user's login shell, which defines the command interpreter used upon login.

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