Tag Archives: find and grep

How to find all files containing specific text on Linux?

In linux, to find all files containing a specific text, we can use the grep command, which can search for the specified text in the file. In the following example, we will introduce two methods to find all files containing … Continue reading

Posted in Find Command | Tagged , , | Comments Off on How to find all files containing specific text on Linux?

How to find and replace specified string with sed in linux/unix

find and replace content in linux: Use the grep command and sed command to search and replace, Use the find command and sed command to find files and replace Continue reading

Posted in How to, Sed Command, Text Processing | Tagged , , | Comments Off on How to find and replace specified string with sed in linux/unix

How to grep folder name in linux

How to grep folder name in Linux? Example: Use the find and grep commands grep folder name, Use the ls and grep commands grep folder name … Continue reading

Posted in How to | Tagged , , | Comments Off on How to grep folder name in linux

How to search all files with specific text on Linux?

How to search all files with specific content in Linux system? Use the grep to search for specific content, Use the find and grep to search for specified… Continue reading

Posted in File & Directory, How to | Tagged , , | Comments Off on How to search all files with specific text on Linux?