Atitit. Software GUI buttons and panels---OS zone-----linux Windows Search Files folder

Source: Internet
Author: User

Atitit. Software GUI Button and Panel ---OS Area ----- Search for Files

1. Find 1

2. Find the catalogue 1

3.2. locate//everything 1

4.3. Whereis ( method of this mapping for Windows Horses ) 2

5.4. which//Everything+path 2

6.5. type///Everything 2

1. Find

Find/-name ' 2615806806b47d00dabc4571f1be3315.jpg '

/images_all/zonghe_kuvarsit/kuvarsit/image_medium/2615806806b47d00dabc4571f1be3315.jpg

/images_all/watches_kuvarsit/image_medium/2615806806b47d00dabc4571f1be3315.jpg

Find/-name ' order* '

Author:: Old Wow's paw attilax Ayron, email:[email protected]

Reprint please indicate source: Http://blog.csdn.net/attilax

2. Find a Directory

Find/-name ' order* '-type D

3.2. locate//everything

The Locate command is actually another way of writing "Find-name" , but much faster than the latter because it does not search for a specific directory, but instead searches for a database (/var/lib/locatedb ), this database contains all of the local file information. The Linux system automatically creates this database and updates it automatically once a day, so you can't find the latest changed files using the Locate command. To avoid this situation, you can manually update the database by using the UpdateDB command before using locate .

4.3. Whereis (WindowsThe method of the mapping of horses)

the Whereis command can only be used for program name searches, and only binary files (parameter - b), man description file (parameter - m ) and the source code file (parameter- s). If the argument is omitted, all information is returned.

examples of use of the Whereis command:

$ whereis grep

5.4. which//Everything+path

The purpose of the which command is to search for the location of a system command in the path specified by the path variable, and return the first search result. That is, with the which command, you can see whether a system command exists, and the command that executes exactly which location.

examples of use of the which command:

$ which grep

6.5. type///everything

The type command is not actually a lookup command, it is used to distinguish whether a command is brought by the shell or by a standalone binary file outside the shell. If a command is an external command, then using the- p parameter displays the path to the command, which is equivalent to the which command.

use instances of the type command:

Find folder in Linux -Sprewell log - netease blog . htm

Atitit. Software GUI buttons and panels---OS zone-----linux Windows Search Files folder

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.