The shell command find -name passwd -print is executed in /etc directory of a…

PYQ GATE 2005

The shell command

find -name passwd -print

is executed in /etc directory of a computer system running Unix. Which of the following shell commands will give the same information as the above command when executed in the same directory?  

  1. A.

    ls passwd

  2. B.

    cat passwd

  3. C.

    grep name passwd

  4. D.

    grep print passwd

Attempted by 250 students.

Sign up free to check your answer

Sign up free

Explore the full course: Operating System

Loading lesson…