![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Search for a word | on9west | Shell Programming and Scripting | 2 | 04-23-2008 12:15 AM |
| search a word from file | vishy | Shell Programming and Scripting | 9 | 02-08-2008 01:15 PM |
| to get a line above the search word | sachin.gangadha | UNIX for Dummies Questions & Answers | 16 | 01-07-2008 03:19 AM |
| how can i search word that is under the cursor in VI | umen | UNIX for Dummies Questions & Answers | 4 | 09-17-2007 11:14 PM |
| Word search in awk | videsh77 | Shell Programming and Scripting | 8 | 03-08-2007 07:40 PM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Search about word
Dear
I want syntax to help me to find text or word inside files. i written the following syntax but i dont take what i need ( find ~ -name ahmad -print ) i need syntax to explain or launch more detail about all files and folder contain ( ahmd ) inside it. |
| Forum Sponsor | ||
|
|
|
|||
|
Quote:
On some Linux version if you use this command on /proc it will even result in a system crash. Better: Code:
find /directory/to/search -type f -exec grep -il {} \;
|
|
|||
|
Quote:
Oops, typo Code:
find /directory/to/search -type f -exec grep -il ahmad {} \;
|
|||
| Google UNIX.COM |