![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| BSD BSD, sometimes called Berkeley Unix, is a Unix operating system developed by the Computer Systems Research Group of the UC Berkeley. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| grep syntax for this... | roshanjain2 | Shell Programming and Scripting | 4 | 02-19-2007 06:21 AM |
| Need help with the syntax using awk+grep | kthri | Shell Programming and Scripting | 6 | 11-07-2005 05:01 AM |
| Command syntax | dsimpg1 | UNIX for Dummies Questions & Answers | 2 | 02-17-2005 02:13 PM |
| command syntax | pmap | UNIX for Dummies Questions & Answers | 3 | 01-09-2002 11:06 AM |
| Syntax for tar command | baunocj | UNIX for Dummies Questions & Answers | 1 | 05-02-2001 11:05 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
proper syntax of grep command
I'm learning UNIX on my mac (BSD), using a manual. I'm trying to figure out the grep command, and am getting something wrong. I've opened one of my files in NeoOffice and am looking for a string, the phrase 'I am writing.' I've been to some sites to get the proper syntax, and from what I can see the proper syntax is:
grep "I am writing" [file name] A lot of times I get the message that no such file or directory exists, even when I think I've entered all the information. When that doesn't happen, the cursor just blinks, with no display of the string I'm looking for. Can someone tell me what I'm missing? Granted, the book i'm using is the OS X missing manual by david pogue, and it's only a few paragraphs on the command, so I may not be comprehending something. Please, if you could write out the proper syntax (including any slashes, dots, etc.) so I can compare it to what I'm doing. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|