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

GATE · 2005 · IT

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 201 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…