Unlike find or locate, mc is not included by default in all Linux distros I've tried. locate -i file_nameīonus tip: Another method I often use is Midnight Commander (mc), the console file manager app. In the general case, the syntax is as follows. While the search results appear instantly, you need to maintain the search index and keep it current, otherwise the locate command can find files which were deleted or moved to another directory. The index for the command can be created and updated by the updatedb command. The locate search tool uses a special file database to find files instantly. The "\ " ending specifies the end of the command for the -exec option. See the following example: find ~/Documents/winaero/ -iname opera45.txt -type f -exec vim " portion stands for files found by the find command.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |