See the command of a buddy on Chinaunix to find the contents of the file:--------------------------- --------------------------------#> find . -type f -exec grep 'mingtian' -l {} \\;grep -l : is the file name that displays the matching content! Or: #> find . -type f -name "*.*" |
Xargs grep 'xiaoshou' -l (this method is not good, quite messy, slow, recommend the previous method!) ------------------------ ----------------------------------- I think that the methods I use are also good, specially recorded: #grep " ;printf" $(find . -name *.c)
When we write the shell, there will be such a scene: For example: I want to back up the passwd fil
HAProxy provides high availability, load balancing, and proxy for TCP and HTTP applications, support
Use the ps and grep commands to find the zombie process #ps -A -ostat,ppid,pid,cmd | Grep -e ^[Zz]
Because the installation of debian uses a minimal installation, the default installation in Chinese,
The reason why the driver of the single-chip microcomputer should be set to low level is
U disk is not normal under Linux.
Error:storage class specified for parameter problem
Let the Linux operating system listen to your schedule
How to install Go language in Linux
How to let CentOS ban ping (anti-PING)
Linux operating system camera driver installation
Website Management SSH Common Commands
Linux mkdir function mode permission setting
Several ways to export the Hash list of the domain controller on the intranet
Win7 system quickly recovers accidentally deleted files
What if the game cannot be full screen under Win7?
Win7 boot blue screen error code 0x00000024 how to do
Win7 CD-ROM is gone, what to do
How to solve Win10 wallpaper blur?
Win7 open web page display garbled solution
Teach you how to open aspx files
Detailed description of installing Win7 on hard disk under XP system