Linux File Search

Source: Internet
Author: User

i++ : Let oneself +1

Example: Seeking + An odd or even number within a and the

650) this.width=650; "Width=" 219 "height=" "style=" Background:url ("/e/u261/lang/zh-cn/images/localimage.png") No-repeat center;border:1px solid RGB (221,221,221); "src="/e/u261/themes/default/images/spacer.gif "alt=" spacer.gif "/>

before the grep is to find the text

File Lookup

Locate : Non-real-time Fuzzy Lookup, based on the system file database to find

#updatedb generate a file database manually, fast

Find : Real-time accurate search, slow, traverse all files in the specified directory to complete the search, self-sustaining many search criteria

Find Find a path Find standard find to future processing standard

Find Standard

-name : Exact matching of file names

file name wildcard:*? [ ]

-iname : File name matching is case insensitive

-regex :

-user : According to the document owner and you want to find that

-group : Search by genus Group

-uid : According to UID Find

-gid : According to GID Find

-nouser : Find users who are not owned by the master

-type : Search by file type

F : Normal file

D

C

-size : Specify size lookup

Combination conditions

-A

-O

-not

You can also search by Time

-mtime

-ctime

-atime

You can also find them based on permissions

-permmode

/mode : Any one match that satisfies the condition

-mode : File permissions can fully contain this Mode can be displayed with extra permissions

action: Default is Print

-print : Displays

-ls : Similar ls–l Show detailed information for each file

-okcommand {} \; : User confirmation is required for each operation

-exec Command {} \; : User Confirmation is not required for each operation

650) this.width=650; "Width=" 569 "height=" 175 "style=" Background:url ("/e/u261/lang/zh-cn/images/localimage.png") No-repeat center;border:1px solid RGB (221,221,221); "src="/e/u261/themes/default/images/spacer.gif "alt=" spacer.gif "/>

Stat View file Status


This article is from the Linux root file system blog, so be sure to keep this source http://amazonjian.blog.51cto.com/9604681/1714886

Linux File Search

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.