If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > db2inst1 find

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-13-06, 11:35
mdx34 mdx34 is offline
Registered User
 
Join Date: Oct 2004
Posts: 238
db2inst1 find

I am trying to find the text 'db2inst1' in files of a directory and it's subdirectories but the following works on a linux server but not on AIX 5.2 server:

grep -r -i db2inst1 /home/db2inst1/sqllib

What can be the problem or what would work on AIX 5.2 ?

Thanks.
Reply With Quote
  #2 (permalink)  
Old 01-13-06, 13:46
dbamota dbamota is offline
Registered User
 
Join Date: Sep 2003
Posts: 237
Shoudn't this belong more appropriately to a UNIX group?

Try find . -type f -print 2>/dev/null |xargs grep db2inst1
__________________
mota
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On