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 > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Please refer to: https://www.cnblogs.com/peida/archive/2012/11/16/2773289.html command: find path-option [- print] [- exec-ok command] {}\; example: 1. Specify file query: gec@ubuntu:/mnt/hgfs/GZ1725/7-sys/shell/code$ 2. Fuzzy file query gec@ubuntu:/mnt/hgfs/GZ1725/7-sys/shell/code$
3. Query according to time range:
# find the files under the / opt directory between 2019-1-1 and 2019-9-1, and display the details
Find / opt-name 'jdk*'-newermt' 2019-01-01'!-newermt '2019-09-01'-type f | xargs ls-l
-rwxr-xr-x. 1 root root 72087592 March 14 2019. / jdk-6u45-linux-x64.bin
-newermt:mt is an optional parameter [a, c, m, t], a:atime, that is, access time. C:ctime, that is, change time, m:mtime, that is, modification time, t:ttime, that is, objective absolute time, exists only as a reference attribute, and the format is yyyy-MM-dd hh:mm:ss.
-type f: specify a file, not a directory
-type d: specify a folder
# find the files 2 days ago in the / opt directory and display the details
Find / opt-ctime + 2 | xargs ls-l
Lrwxrwxrwx. 1 root root 17 March 14 2019 / opt/apr/apr/lib/libapr-1.so-> libapr-1.so.0.5.0
Lrwxrwxrwx. 1 root root 17 March 14 2019 / opt/apr/apr/lib/libapr-1.so.0-> libapr-1.so.0.5.0
-rwxr-xr-x. 1 root root 72087592 March 14 2019 / opt/jdk-6u45-linux-x64.bin
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.