Tag:find

  • Common commands and differences between find and grep under Linux

    Time:2020-2-20

    When using Linux, you often need to find files. The main search commands are find and grep. There is a difference between the two commands.  Difference: (1) The find command is to find the file according to its attributes, such as file name, file size, owner, group, whether it is empty, access time, modification time, […]

  • The difference between which, where is, locate and find in Linux

    Time:2019-11-25

    We often want to find a file or command in Linux, but we don’t know where it is. We can use some of the following commands to search. Where to view the executableWhere is where to view filesLocate with database to view file locationFind ﹣ find ﹣ search hard disk actually query file name 1、which […]

  • Linux basic command introduction 3: file search and others

    Time:2019-11-20

    1. Linux contains a large number of files. For file search, Linux providesfindCommand. findIs a very effective tool, it can traverse the target directory or even the entire file system to find some files or directories: find [path…] [expression] amongexpressionThere are three types:options、testsandactions。 Multiple expressions are separated by operators. When operators are omitted, the default […]

  • Netty + ZooKeeper for Simple Service Registration and Discovery

    Time:2019-10-6

    I. background A recent project: Our system receives a single task from the upstream system, and then pushes it to the relevant equipment of the designated stores and carries out corresponding business processing. II. Use of Netty After receiving the single task, the device is pushed to the designated store through Netty. Netty implements message […]

  • Details of two search commands location and find tutorials in Linux

    Time:2019-8-30

    There are a lot of search commands in Linux. Today, we mainly talk about locate and find commands. 1.locate The location command is actually another way to write “find-name”, but much faster than the latter, because it does not search for specific directories, but for a database (/ var/lib/locatedb), which contains all local file information. […]

  • DOS Command Chapter for Batch Processing Initial Manual (find findstr)

    Time:2019-5-24

    1.4 Learn the find findstr command Learning Points:1. String lookup: find2. String lookup enhancement: findstr 1. String lookup: find Search for strings in files. FIND [/V] [/C] [/N] [/I] [/OFF[LINE]] “string” [[drive:][path]filename[ …]] / V) Displays all rows that do not contain the specified string./ C) Displays only the number of rows containing strings./ N) […]

  • DOS Command Chapter for Batch Processing Introduction Manual (find findstr)

    Time:2019-4-29

    1.4 Learn the find findstr command Learning Points:1. String lookup: find2. String lookup enhancement: findstr 1. String lookup: find Search for strings in files. FIND [/V] [/C] [/N] [/I] [/OFF[LINE]] “string” [[drive:][path]filename[ …]] / V. Displays all rows that do not contain the specified string./ C) Display only the number of lines containing strings./ N) […]

  • The solution of PCI find device function could not be found in CentOS 7

    Time:2019-3-24

    When using Xilinx PCIE demo, a Linux driver provided by xapp1022 was compiled, and the error prompt could not find the pci_find_device function. The instructions say that the driver is on fedora, and the current environment is Centos7. The header file used in the driver has only one Linux / pci. h related to pci, […]