Which command will search the entire system for files named .profile?

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

Option B is correct because the 'find' command with '/' as the starting directory and '-name .profile' searches for all files named '.profile' throughout the system. The other options do not perform a system-wide search for these files.

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