![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Search files with specfic extention and later search content | lovi_v | UNIX for Advanced & Expert Users | 2 | 07-14-2008 01:05 PM |
| how to delete content in a file (delete content only) | kittusri9 | Shell Programming and Scripting | 5 | 05-15-2008 02:12 PM |
| shell script to search content of file with timestamps in the directory | psychobeauty | Shell Programming and Scripting | 10 | 04-21-2008 06:37 AM |
| grep/cat/more -- search in a txt file and display content from a specific "keyword" | I-1 | UNIX for Dummies Questions & Answers | 4 | 02-21-2007 04:57 AM |
| How to search files containing a specific word in the content | amjath78 | UNIX for Dummies Questions & Answers | 1 | 01-03-2007 03:42 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
grep -iR <phrase>
<phrase> -> word you want to search if you want to search a sentence enclose within '' (single quotes) To make your search more faster if you know what type of files to be searche use the following find -iname "*.xml" | xargs grep -iR <phrase> |
|
||||
|
Hi folks, Thanks for your advice. I tried to find files containing the word 'namecard' on all files /path/directory; # grep -iR namecard /media/usbdisk/Documents_2006_2008/ Code:
/media/usbdisk/Documents_2006_2008/Fedora/Server/Gani/gani_20070326.txt:pendrive and namecard CD. The complete OS is limited to 50MB. The output just repeats with the mouse pointer pending there. Could you please shed me some light what does it mean? How to proceed? TIA B.R. satimis |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|