Closed aashishrbhandari closed 3 years ago
Hello Chlebik,
Correct me if i am Wrong
But the I Think the answer is not Correct for
The Correct Answer Should be (Since it Says Files) find /etc -type f -maxdepth 1 -mtime +180
find /etc -type f -maxdepth 1 -mtime +180
If we use this: find /etc/ -maxdepth 1 -mtime +180
find /etc/ -maxdepth 1 -mtime +180
It also gives dir /etc/rc3.d /etc/rc4.d /etc/rc5.d /etc/rc6.d
Applied
Hello Chlebik,
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