In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
Find: find files that match the specified attributes in real time by traversing the specified target directory
Advantage: exact match for search
Cons: slightly slower
Usage:
Find [OPTION] [search path] [search condition] [processing Action]
Find path: default to current path
Search criteria: default to all files under the specified path
Processing action: it is displayed on the screen by default
Search criteria:
-name: distinguishes the case of a file when searching, and supports glob
*, [], [^]
-iname: file case insensitive when looking for it
-user USERNAME: search according to the file owner
-group USERNAME: search by file group
-uid UID: find based on the specified UID
When the original user is deleted, the owner group of the file he created before becomes the uig and gid of his previous account.
-gid GID: find based on the specified GID
-nouser: find files without owners
-nogroup: find files that do not belong to a group
-type TYPE: find by file type
-size TYPE: find based on file size
-atime [+ | -] #: files visited in recent days
-mtime[ + | -] #: files that have been modified in recent days
-ctime[ + | -] #: files that have changed in recent days
-amin[ + | -] #: files accessed in the last few minutes
-Mmin [+ | -] #: files that have been modified in recent minutes
-cmin [+ | -] #: files that have changed in the last few minutes
-perm [+ | -] MODE: search based on permissions
-maxdepth: find the most depth, for example:-maxdepth 1 means only look under the current directory, but not the directory under the current directory.
-mindepth: find the minimum depth
Combination of search criteria:
-a: the same as when there are two operations without this parameter
-o: or
!!-not: not
Find by file type
-type TYPE:
F: ordinary files
D: catalog file
L: symbolic link file
B: block equipment
C: character settings file
P: command name pipe
S: represents a socket file
Find based on file size
-size TYPE:
Commonly used unit: KTHERMAL MMAG
+; greater than
-; less than
Nothing is expressed as an exact size.
# UNIT: indicates #-1 < x
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.