Computer Science - Unix - Discussion

Discussion :: Unix - Section 2 (Q.No.48)

48. 

Which command is used to locate all the .profile files in the system?

[A]. ls profile
[B]. find /-name profile -print
[C]. cd /.profile
[D]. l -u .profile
[E]. None of the above

Answer: Option B

Explanation:

No answer description available for this question.

Tom said: (Sep 19, 2013)  
That answer is not correct, only because the file name that we are looking for is called .profile - not profile.

find / -name .profile -print is the correct answer.

They simply left out the dot - and .profile and profile are two different file names.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.