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 are the new features of informatica 9.x in developer level?

0 Answers  


Explain the different dimensions.

0 Answers  


Two workflows are running at same time first workflow is succeeded but second workflow is failed but there is no dependencies?

1 Answers   IBM,


my source has 2 columns. 1st column data: ABC ABC ABC XYZ and 2nd column data: 1 2 3 4. And my target should be ABC 1 2 3, XYZ 4

2 Answers   Zensar,


What is a Shortcut and What is the difference between a Shortcut and a Reusable Transformation?

1 Answers  






WHAT IS THE DIFFERENCE B/W 7.X AND 8.X ? TELL ME FEW DIFFERENCES.

2 Answers  


Which kind of index is preferred in DWH?

3 Answers  


Clarify the aggregator change?

0 Answers  


Can anyone please distinguish what is Inner join and Outer join

2 Answers   Wipro,


What is an expression transformation?

0 Answers  


How to import oracle sequence into Informatica?

3 Answers   Satyam,


In a scenario I want to change the dimensions of a table and normalize the denomralized table which transformation can I use?

4 Answers  


Categories