Ask a question
Ls | grep [^ \]
I expect the result is file name does not contain. File, seems to be to find the file content can actually come out of,
CodePudding user response:
Grep -r "name". Add/r recursive search under the current directory
CodePudding user response:
Regular used to match a string, if want to pick up the words you can use the parameters of the grep -v
Do not include the files can be used. The following two kinds, you try
Ls -a | grep -v "\."
This is regardless of whether the opening
Ls -a | grep -v - E "^ \."
Filter only, at the beginning of
CodePudding user response: