Added
A Linux administrator needs to find regular files beneath /var/log that have not been modified in the last seven days, then display their pathnames. The search must not traverse another mounted filesystem. Complete the command by selecting the correct values for each blank.
Choose the correct value for each blank.
find /var/log -xdev -type f -mtime +7 -print
The completed command uses -xdev to avoid descending into directories on other filesystems, -type f to select regular files, and -mtime +7 to select files whose modification time is more than seven 24-hour periods ago. -maxdepth 1 would restrict the search to the starting directory's immediate level, while -L and -H affect symbolic-link traversal. The other type tests select different file kinds, and -atime checks access time rather than modification time.