Computer Science - Unix - Discussion

Discussion Forum : Unix - Section 2 (Q.No. 48)
48.
Which command is used to locate all the .profile files in the system?
ls profile
find /-name profile -print
cd /.profile
l -u .profile
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
1 comments Page 1 of 1.

Tom said:   1 decade ago
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:

Your comments will be displayed after verification.