Desktop search: Difference between revisions

Jump to navigation Jump to search
259 bytes added ,  13 May 2013
Line 51: Line 51:


* Grep command for {{linux}} <ref>[http://www.cyberciti.biz/faq/howto-search-find-file-for-text-string/ Finding a File containing a particular text string in Linux server]</ref>
* Grep command for {{linux}} <ref>[http://www.cyberciti.biz/faq/howto-search-find-file-for-text-string/ Finding a File containing a particular text string in Linux server]</ref>
** multiple files: {{kbd | key=<nowiki>grep "string to search" directory</nowiki>}}
** multiple files: {{kbd | key=<nowiki>grep -ir "string to search" /path/to/directory</nowiki>}}<ref>options (1) -i, which means ignore case (2) -r means search recursively through an entire directory tree including the sub directory [http://www.linfo.org/grep.html How to use the grep command, by The Linux Information Project (LINFO)]</ref>
** single file: {{kbd | key=<nowiki>grep "string to search" /path/to/file</nowiki>}}
** single file: {{kbd | key=<nowiki>grep "string to search" /path/to/file</nowiki>}}


Navigation menu