![]() It will find all files with the required text. To find files containing some specific text using Midnight Commander, start the app and press the following sequence on the keyboard:įill in the "Content:" section and press the Enter key. Find files containing specific text with mc ![]() Unlike grep, mc is not included by default in all Linux distros I've tried. Note: Other useful switches you might want to use with grep:Īnother method I use is Midnight Commander (mc), the console file manager app. For example, here is my command grep -iRl "linux" /home/user/Documents/winaero You can change it to the full path of the folder. In our case, it is the current folder with the file mask. the last parameter is the path to the folder containing files you need to search for your text. l - show file names instead of file contents portions. R - recursively search files in subdirectories.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |