what is diff between grep and find

Answers were Sorted based on User's Feedback



what is diff between grep and find..

Answer / shalu

grep is used for finding any string in the file.
syntax - grep <String> <filename>
example - grep 'compu' details.txt
display the whole line,in which line compu string is found.

find is used to find the file or directory in given path,
syntax - find <filename>
example - find compu*
display aal file name starting with compu

Is This Answer Correct ?    28 Yes 2 No

what is diff between grep and find..

Answer / lokesh

grep searches pattern in the file
where find command searches the pattern .but major
differencce of find commands is it evaluates
expression given precedences to dir ,filename and
evaluated value will be searched in directory or in file

Is This Answer Correct ?    0 Yes 0 No

what is diff between grep and find..

Answer / usha

find command will look for a perticuler file formet

Grep command will take all PATTERN of files

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Informatica Interview Questions

what is the drillup & drill down?and use of the drill up and drill down?

1 Answers   IBM,


Which are the different editions of informatica powercenter that are available?

0 Answers  


What will be the approach?

0 Answers  


which transformation should we use to get the 5th rank member from a table in informatica?can we achieve this in sql?

6 Answers   IBM,


how to remove staging area

1 Answers  






How can you increase the performance in joiner transformation?

0 Answers  


What is Index Caches size?

0 Answers   Informatica,


I Have 100 Records in a relational tble and i want to load the record in 3 targets , first records goes to target 1 and second to target 2 and third to target 3 and so on ,what are the tx used in this and what are the logics ,can any one help me ?? Thanks in Advance

6 Answers   IBM, TCS,


without dynamic lookup transformation how to insert new rows and update existing rows?

7 Answers   Cap Gemini,


there is a product table prodid prodname price 100 cinthol 10 101 hamam 10 102 neem 20 103 cake 30 in the above table the price of some products are duplicated and some product prices are distinct we want to push the duplicated prices to one target and non-duplicated prices to other target without using expression and sequence generator transformation

4 Answers  


What is the way to execute pl/sql script using informatica mapping?

0 Answers  


what is mean by flag 4 in update strategy t/r

6 Answers  


Categories