Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Linux find command to find files     - Linux system monitoring tool set cpu (Linux)

- Docker build private warehouse (Server)

- Du and df show disk space usage inconsistent Causes and Treatment (Linux)

- How to modify the SQL Server auto-increment value and the corresponding solution (Database)

- CentOS 6.6 shortcut command execution (Linux)

- How to Start a Linux application running in the background using the terminal mode (Linux)

- Java implementation of stacks and queues (Programming)

- MongoDB 3.2 to upgrade from 3.0.7 (Database)

- Red Hat Linux security settings document (Linux)

- LNMP Note: Addressing mail function can not send mail (Server)

- Struts2 study notes -Valuestack (value stack) and OGNL expression (Programming)

- Why you should choose Python Programming (Programming)

- Linux system boot process ARM platforms (Linux)

- Upgrading Oracle 11.2.0.1.0 to 11.2.0.3.0 (Database)

- Linux kernel modules related to the management Comments (Linux)

- Sshuttle A VPN-based transparent proxy that uses ssh (Server)

- Lenovo E431 notebook CentOS system is installed wireless network card driver (Linux)

- Upgrading to MySQL 5.7.9 MySQL 5.6.23 (Database)

- tar command to extract a file error: stdin has more than one entry (Linux)

- Source code is installed MySQL 5.6.28 (Database)

 
         
  Linux find command to find files
     
  Add Date : 2018-11-21      
         
         
         
  Under Linux, it is often necessary in a position to find some files. How to do? Use the find command enough.
find search-path expressions search-string

If you want to search the current directory. Then the search-path can be empty or a full stop '.'

If the current directory is searched for three minutes before being accessed files.
find. -amin 3


If you find four days ago it was accessed files.
find. -atime 4

If you find five minutes before the file name is changed files.
find. -cmin 5

If you find the six days before the file name is changed files.
find. -ctime 6

If you find the seven minutes before the contents of the modified files.
find. -mmin 7

If you find the eight days before the contents are modified.
find. -mtime 8

If you find the file zero size files.
find. -empty


If you find the file index number is 11331.
find. -inode 11331

If you want to find a file named a.out file.
find. -name a.out


If you want to look for a file called a.out and A.out of.
find. -iname a.out

Look for a value of 644 is added to the file.
find -perm 644


Join To find all files in the current directory.
find
find -print


In addition there are three options are more common.
-H Not follow symbolic links (but when processing command line arguments to follow)
-L Always follow symbolic links
-P Never follow symbolic links (this is the default)

Symbolic link symbolic links
The file type is l
Like shortcuts under Windows.

The user's default directory is ~
Current directory Yes.
The directory is the last -
The root directory is /
.. Is the parent directory
     
         
         
         
  More:      
 
- Linux crontab use (Linux)
- Linux system security (Linux)
- Android View event delivery (Programming)
- mysqldump issue a note (Database)
- Use eCryptFS encrypt files and directories on Linux (Linux)
- C # Future: Method Contract (Programming)
- VNC configuration detailed analysis under Linux (Linux)
- Debian 8 Jessie install LAMP server tutorial (Server)
- Change CentOS 7 NIC name eno16777736 to eth0 (Linux)
- Oracle to create an external table (Database)
- Java in the final qualifier (Programming)
- 5 interesting Linux command line tips (Linux)
- How to ensure that the Internet will not be attacked (Linux)
- After Oracle 11g dataguard failover rebuild the archive logs are not applied to be NO problem (Database)
- Linux NIC configuration (Linux)
- RHEL / CentOS / Fedora Install Nagios 4.0.1 (Linux)
- Linux network monitoring tools ntopng installation (Linux)
- Linux installation JDK1.6 rpm.bin assembly (Linux)
- Ubuntu and derivatives installation Atom 0.104.0 (Linux)
- EXP-00091: Exporting questionable statistics Processing Method (Database)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.