![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can I make "touch" create executable files by manipulating umask? | tphyahoo | Shell Programming and Scripting | 2 | 01-30-2009 04:20 PM |
| "find command" to find the files in the current directories but not in the "subdir" | swamymns | Shell Programming and Scripting | 9 | 07-22-2008 11:23 AM |
| diff on c-source file always returns "files differ" | C-Prog-Man | UNIX for Dummies Questions & Answers | 7 | 08-31-2006 01:57 PM |
| Perl CGI to access / edit "root" owned config files | WIntellect | Shell Programming and Scripting | 1 | 04-23-2003 03:48 PM |
| File names that contain "01" act hidden | n9ninchd | UNIX for Dummies Questions & Answers | 8 | 06-09-2001 10:25 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
total number of files which have "aaa" in files whose names are File*_bbb*
I am getting the list of all the files which have "aaa" from files whose name is File*_bbb*.
grep -l "aaa" File*_bbb* But I want to count the number of files. That is I want the total number of files which have "aaa" in files File*_bbb* If I run the following for getting number of files, I am getting 0 files returned. grep "aaa" File*_bbb* | wc -l So how do I get the total number of files which have "aaa" in files whose names are File*_bbb* |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|