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

How to load a relational source into file taget?

2 Answers  


task is running successfully but data is not loded why?

2 Answers  


WHAT IS EDM?WHAT IS THE USE IN INFORMATICA? chandumba2005@gmai.com

0 Answers   TCS,


How can you recognise whether or not the newly added rows in the source r gets insert in the target ?

2 Answers  


How can one identify whether mapping is correct or not without connecting session?

0 Answers  


if i have source with 100 records target with 100 records and we lookup on another database table and it has 10 million record so what is the method of limiting that much record in lookup table?

2 Answers   TCS,


pmscmd startworkflow -sv <host name> -d <domain name> -u <user name> -p <password> -f <folder name> <workflow name> while running this command I got the error as "no gateway connectivity is provided for your domain name". So anyone please help me how to rectify this error?

0 Answers   HCL,


why we are using surogate key in real time give me explanation

2 Answers   TCS,


What is a stored procedure transformation?

0 Answers  


What is IQD file?

1 Answers  


How to Migrate the UNIX SCRIPTS from SIT TO PROD?

1 Answers  


What are the tasks that source qualifier performs?

1 Answers  


Categories