Linux Tenth Day: (August 15) exercises and assignments

Source: Internet
Author: User

Linux Tenth Day: (August 15) exercises and assignments

Find all files in the/var directory that are subordinate to the root and belong to the group Mail
find/var/-user Root-group Mail


Find all files that do not belong to root LP GDM in the/var directory
find/var/-not \ (-user root-o-user jane-o-user jane\)


Find files that have been modified in the/var directory for the last week and are not root or postfix
find/var/-mtime-7 \ (-not-user root-a-not group Postfix)


Find files on the current system that are not owned by the master or group and have been visited in the last week
Find/\ (-nouser-o-nogroup\)-atime-7


Find all files that are larger than 1M in the/etc directory and are of a normal file type
find/etc/-size +1m-type F


Find files with no write permission for all users in/etc directory
find/etc/-perm-not-perm/222


Find at least one class of users who do not have permission to execute files in/etc directory
find/etc/-not \ (-perm/200-perm/020-perm/002\)


Find files in the/ETC/INIT.D directory where all users have execute permissions and other users have write permissions
Find/etc/init.d/-perm-111-perm-002

Linux Tenth Day: (August 15) exercises and assignments

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.