chlebik / rhcsa-practice-questions

RHCSA practice questions for version 7/8
550 stars 231 forks source link

Solution is NOT the Correct one for 031_finding_files.md #6

Closed aashishrbhandari closed 3 years ago

aashishrbhandari commented 3 years ago

Hello Chlebik,

Correct me if i am Wrong

But the I Think the answer is not Correct for

31) 031_finding_files.md

Question: Find All Files in /etc (not subdirectories) that where modified more than 180 days ago.

The Correct Answer Should be (Since it Says Files) find /etc -type f -maxdepth 1 -mtime +180

If we use this: find /etc/ -maxdepth 1 -mtime +180

It also gives dir /etc/rc3.d /etc/rc4.d /etc/rc5.d /etc/rc6.d

chlebik commented 3 years ago

Applied