Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ how to quickly find a file on Linux system     - JBoss7 configuration - Supports IPv4 and IPv6 dual-stack environment (Server)

- Based LNMP + uWSGI deploy Django applications (Server)

- PXE install CentOS 6.4 (Linux)

- The first IOS Objective-C program (Programming)

- How to configure chroot environment in Ubuntu 14.04 (Linux)

- Java inner classes (Programming)

- MySQL Study of --Percona Server 5.5 Upgrade 5.6 (Database)

- Java development environment to build under Ubuntu (Linux)

- Ubuntu 14.04 CodeBlocks configuration manually compile Boost 1.57.0 (Linux)

- ORA-00020: No more process state objects available (Database)

- Linux firewall settings instance (Linux)

- SSH port forwarding application (Server)

- Nagios (centreon) monitoring Linux Log (Server)

- SUSE Linux firewall configuration notes (Linux)

- Computer black magic: tail recursion (Programming)

- Prevent security threats caused Rootkit (Linux)

- Common data structures and functions of Linux process scheduling (Programming)

- Linux system performance monitoring with Nmon (Linux)

- C ++ inheritance and derived (induction principle) (Programming)

- To create a file in Linux directory by setfacl (Linux)

  how to quickly find a file on Linux system
  Add Date : 2018-11-21      
  Previously seen words: Linux is reflected in the level quickly locate files ~~~ Perhaps these words exaggerated

But because everything is a file on Linux, whatever we want to do can be done by editing the file, such as server configuration, maintenance, and everything that we are dealing with the file ~ * ~ *

Let me tell you how to quickly find a file


Find the script file (executable files) which filename

Find a binary file (executable file) whereis -b filename

Find a specific file whereis filename (use a database to find)

Part of the filename locate the file (use a database lookup)

The above mentioned use of the database search, said database is a computer that you have all the files, is not very clear

That is, the file / var / lib / mlocate

When you can not remember the full name of the file using locate; of course you can also use the Find command together with a wildcard *

Such as finding files yum.conf

whereis yum. *

The screen output prefix yum. Files

Here I introduce a powerful command, but time-consuming, it time-consuming it? Because it is hard to find a direct

We have to know the contents of the hard disk to remove the memory go

It powerful? Look down

find / etc -mtime 3 What does it mean? Is the changed files to find out three days before the day

Its usefulness can be big, such as we had in November 11, 2014 has been configured server, we want to see that look in three days

Modified files, we love each other directly, type find / etc -mtime 3 terminal

find / boot -newer /boot/gurb.conf

Than /boot/gurb.conf also find the new file under the / boot directory

Find the root of the user's files belong fuchao

find / home -user fuchao

Find system files that do not belong to anyone (ps: this bit mean ~ ~ ~)

find / -nouser

Find files with special permissions

find / -perm +7000 --- s - s - t

find / -perm +600
- Java multi-threaded in a three way (inheritance, implementation, anonymous inner classes) (Programming)
- SUSE Linux firewall configuration notes (Linux)
- Appweb configuration in detail (Server)
- Linux AS4 VPN server in conjunction with a firewall perfect (Linux)
- Linux security configuration (Linux)
- Linux system security configuration (Linux)
- Linux atomic operations and synchronization mechanisms (Programming)
- Extended use of the swap file swap space on Linux (Linux)
- CentOS6 5 source compiler installation Hadoop2.5.1 (Server)
- Ubuntu GCC, G ++ and fortran Version Switch (Linux)
- Linux / UNIX: Use the dd command to create a 1GB size binary (Linux)
- Ubuntu users install the Download Manager software Xdman 5.0 (Linux)
- CentOS 6.6 install Oracle 11gR2 database (Database)
- Linux Getting Started tutorial: Ubuntu 14.04 in the installation Sogou Pinyin (Linux)
- Use PuTTY to access the virtual machine Linux under Windows xp (Programming)
- Using monitoring tool dsniff (Linux)
- Linux Basic Course: Install the software from source code (Linux)
- Use GNU / Linux broadcasting of television programs (Linux)
- YUM install desktop environment in CentOS (Linux)
- Linux shell script to adjust the Task Scheduler (Linux)
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.