Ps:find is a powerful command that matches the regular and finds the corresponding permissions, which can help you pinpoint files in any directory anywhere in your system. The following is the most detailed article on the use of the Find command,
Vim Editor: Full-screen editor: VIM Vi:visual interface Sed: line Editor VI, VI improved Vim: Pattern: Edit mode: Command mode Input mode: Last-line mode: Edit mode--Input mode: I:insert, A:append, O:new Line, I: The beginning of the line A: End of
(Reprinted)
As a programmer, what do we worry most about? Is memory leakage? Is the interface hard to see ?...... Wrong! I believe that there will be no objection in my opinion-that is, the program has crashed!
"This program has performed
Example: Delete/home/raven, including all files named Abc.txt in subdirectories:Find/home/raven-name Abc.txt | Xargs RM-RFIf Xargs is not used, then:Find/home/raven-name abc.txt-exec RM-FV {};Preface: About the Find commandBecause find has powerful
1, check the file under a certain path.Search for "*.log" files under/etcFind/etc-name "*.log"2, expand, List all files under a path, including subdirectories.Find/etc-name "*"3. Look for all files that contain the "Hello Abcserver" string under a
Find command syntax: find search path matching expression function: this command is used to find files that meet the conditions in a specified path. The search path can be multiple directories, different directories are separated by spaces (1)
This chapter blog related Linux knowledge points
Different points for find versus grep:Find is a file Search command--used to find files in a specified directory, and grep as a text Search command--to search the target file according to a user-
Introduction:In this article, you'll learn about two points on file operation. 1. How to delete the specified line of a file. 2.How to replace the specified line of a file.Yesterday someone asked me how to delete the specified row in the file (under
No intention of discovering the use of map files during csdn wandering, and recording them for your learning. K5z flat Software ParkK5z flat Software ParkIdentify the source code error line through the crash address only k5z flat Software ParkI
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.