Some techniques used to work, and some common things
1. Windows get all the files under a directory and export their file hierarchy to a file. Use the CD command to enter the specified directory, export files and their hierarchies with Tree / F> AAA.txt.
2, use a comma to make a separator, save the (.csv) to the extension file, then open with Excel, you can automatically put the characters on both sides of the comma in different cells.
3, using grep -n "string" in Linux * can search for "string" files and locations in the current directory file, and display the contents of the line. grep -n "string" * / * You can search for all the next level of directory of the current directory, push it according to a subkey, can search in all files in the current directory
4, Linux can be used in> (redirector) to output the content output on the display to the file, such as: ls -a> a.txt, output the contents of the LS -A output to the a.txt file, but Sometimes don't necessarily output all the output contents to the file, you want to output all the output content to the file can be used in> &, examples: make> & aa.txt. Want to add the contents to the display to the back of the file, you can use >>, examples: ls -a >> a.txt, sometimes you can use 2> redirection, specific you can test it.
5, LINUX's command, Find directory name - Name "The file name to be found",
Example: Find / usr / include -name "stdio.h"