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?
see highlighted part
GateOverflow04 so “ls passwd” only shows “passwd”? so is it like it is showing “passwd” only if that file is in the directory?
option c is the right answer ...... it will show the
Find Files Using Name in Current Directory
Find all the files whose name is tecmint.txt in a current working directory.
# find . -name tecmint.txt