GATE | IT | 2005 | Miscellaneous | Question 18

Last Updated :
Discuss
Comments

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?  

ls passwd

cat passwd

grep name passwd

grep print passwd

Share your thoughts in the comments